.wof-fpl-analyzer{overflow:hidden}.wof-fpl-analyzer *{box-sizing:border-box}.wof-fpl-results{margin-top:56px;border:1px solid rgba(126,231,255,.18);background:linear-gradient(145deg,rgba(7,32,47,.96),rgba(2,17,28,.96));border-radius:24px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.28)}.wof-fpl-results[hidden]{display:none}.wof-fpl-results-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:22px;border-bottom:1px solid rgba(190,235,247,.12)}.wof-fpl-results-head h3{font-size:30px;line-height:1.25;margin:8px 0 4px}.wof-fpl-results-head p{margin:0;color:#8fa6b2}.wof-fpl-badges{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:11px;color:#9fb4bd}.wof-fpl-badges>span{border:1px solid rgba(190,235,247,.15);padding:8px 10px;border-radius:999px}.wof-live-pill,.live-dot{color:#7ee6b1!important}.wof-fpl-notice{margin:18px 0 0;padding:14px 16px;border:1px solid rgba(255,188,92,.25);background:rgba(255,188,92,.07);border-radius:12px;color:#ffd69a;font-size:13px;line-height:1.8}.wof-fpl-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.wof-summary-card{padding:16px;border:1px solid rgba(190,235,247,.12);border-radius:14px;background:rgba(255,255,255,.025)}.wof-summary-card small{display:block;color:#78909c;font-size:10px;margin-bottom:6px}.wof-summary-card b{font-size:22px;color:#f4fbff}.wof-fpl-progress{margin:6px 0 24px;padding:14px 16px;border:1px solid rgba(190,235,247,.1);border-radius:14px;background:rgba(255,255,255,.018)}.wof-fpl-progress-head{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#8fa6b2;margin-bottom:10px}.wof-fpl-progress-track{height:7px;background:rgba(255,255,255,.06);border-radius:999px;overflow:hidden}.wof-fpl-progress-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#5edcf4,#72e6b1);border-radius:999px;transition:width .4s ease}.wof-fpl-tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid rgba(190,235,247,.12);margin:28px 0 20px;scrollbar-width:none}.wof-fpl-tabs::-webkit-scrollbar{display:none}.wof-fpl-tab{border:0;background:transparent;color:#8fa6b2;padding:12px 14px;font-family:inherit;font-weight:800;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent}.wof-fpl-tab.is-active{color:#8ee8fa;border-bottom-color:#62dbf2}.wof-fpl-panel{display:none}.wof-fpl-panel.is-active{display:block}.wof-fpl-overview-grid,.wof-fpl-live-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.wof-fpl-insight-card,.wof-live-tile{padding:18px;border:1px solid rgba(190,235,247,.11);background:linear-gradient(145deg,rgba(255,255,255,.028),rgba(255,255,255,.01));border-radius:16px}.wof-fpl-insight-card span,.wof-live-tile small{display:block;color:#7e97a2;font-size:10px}.wof-fpl-insight-card strong,.wof-live-tile b{display:block;font-size:23px;margin:8px 0 4px}.wof-fpl-insight-card small{color:#76909c;font-size:9px}.wof-fpl-insights{display:grid;gap:8px;margin-top:14px}.wof-fpl-insight-line{padding:12px 14px;border-radius:11px;background:rgba(102,222,246,.05);border:1px solid rgba(102,222,246,.1);color:#b8cbd3;font-size:12px}.wof-fpl-pitch{position:relative;min-height:650px;border:1px solid rgba(96,230,172,.18);border-radius:18px;padding:28px 18px;background:repeating-linear-gradient(0deg,rgba(84,200,142,.055) 0 1px,transparent 1px 90px),linear-gradient(180deg,rgba(25,105,73,.28),rgba(10,66,53,.16));overflow:hidden}.wof-fpl-pitch:before{content:"";position:absolute;inset:12px;border:1px solid rgba(220,255,236,.14);border-radius:6px;pointer-events:none}.wof-pitch-row{position:relative;z-index:1;display:flex;justify-content:center;gap:18px;min-height:135px;align-items:center}.wof-player-card{position:relative;width:126px;min-height:120px;padding:22px 8px 10px;border:1px solid rgba(185,242,255,.2);border-radius:13px;background:linear-gradient(145deg,rgba(8,38,52,.94),rgba(3,18,29,.92));color:#fff;font-family:inherit;box-shadow:0 12px 28px rgba(0,0,0,.25);text-align:center;cursor:pointer}.wof-player-card:hover{border-color:rgba(114,228,247,.5);transform:translateY(-2px)}.wof-player-card.is-no-show{opacity:.55}.wof-player-card b{display:block;font-size:13px;margin:5px 0 2px}.wof-player-card small{font-size:9px;color:#8fa6b2}.wof-player-team{font-size:8px;color:#6fdff3}.wof-player-points{display:block;color:#72e4f7;font-size:18px;font-weight:900;margin-top:8px}.wof-player-points small{color:#72e4f7}.wof-player-meta{display:block;font-size:8px;color:#718a95;margin-top:4px}.wof-player-top{position:absolute;top:6px;left:6px;right:6px;display:flex;gap:4px;justify-content:flex-start}.wof-player-flag,.wof-player-status{display:inline-grid;place-items:center;min-width:22px;height:20px;border-radius:6px;background:#7ee7ff;color:#03202b;font-size:9px;font-weight:900}.wof-player-flag.vice{background:#c5dce3}.wof-player-status{margin-left:auto;background:#ffba7c}.wof-player-status.sub-in{background:#78e5aa}.wof-player-status.sub-out{background:#ff8d8d}.wof-fpl-bench{margin-top:12px;padding:16px;border:1px solid rgba(190,235,247,.12);border-radius:16px;background:rgba(255,255,255,.02)}.wof-bench-title{font-size:10px;color:#78909c;margin-bottom:10px}.wof-bench-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.wof-bench-grid .wof-player-card{width:100%}.wof-fpl-table-wrap{overflow:auto}.wof-fpl-table{width:100%;border-collapse:collapse;min-width:720px}.wof-fpl-table th,.wof-fpl-table td{padding:13px 12px;border-bottom:1px solid rgba(190,235,247,.1);text-align:right}.wof-fpl-table th{font-size:10px;color:#7d96a2}.wof-fpl-table td{font-size:12px}.wof-fpl-table td small{display:block;color:#708996;font-size:9px;margin-top:3px}.wof-player-link{border:0;background:none;color:#eaf8ff;font-family:inherit;font-weight:800;padding:0;cursor:pointer}.wof-state{display:inline-flex;padding:5px 7px;border-radius:999px;font-size:9px;border:1px solid rgba(255,255,255,.1)}.wof-state.finished{color:#7de3ad}.wof-state.playing{color:#70ddf5}.wof-state.upcoming{color:#9cabb2}.wof-fpl-list{display:grid;gap:9px}.wof-list-row{display:flex;align-items:center;gap:14px;border:1px solid rgba(190,235,247,.11);border-radius:12px;padding:13px;background:rgba(255,255,255,.02)}.wof-list-row>div{display:flex;flex-direction:column;gap:4px}.wof-list-row b{font-size:12px}.wof-list-row small{font-size:9px;color:#7f97a3}.wof-list-badge{font-size:9px;color:#6edff4;border:1px solid rgba(110,223,244,.2);padding:6px 7px;border-radius:7px}.wof-list-row .in{color:#7ee6b1}.wof-list-row .out{color:#ff9f9f;margin-right:10px}.wof-list-row.fixture{display:grid;grid-template-columns:1fr auto 1fr auto;text-align:center}.wof-list-row.fixture small{white-space:nowrap}.wof-empty{padding:28px;text-align:center;color:#7d96a2;border:1px dashed rgba(190,235,247,.13);border-radius:12px}.wof-league-btn{margin-inline-start:auto;border:1px solid rgba(110,223,244,.18);background:rgba(110,223,244,.06);color:#8de9fa;border-radius:8px;padding:7px 10px;font-family:inherit;cursor:pointer}.wof-league-standings{display:grid;gap:5px;margin:-3px 10px 8px;padding:12px;border:1px solid rgba(190,235,247,.09);border-radius:10px;background:rgba(0,0,0,.12)}.wof-league-standings span{display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;font-size:10px}.wof-league-standings i{font-style:normal;color:#69dcf2}.wof-league-standings em{font-style:normal;color:#8fa6b2}.wof-player-dialog{width:min(680px,calc(100vw - 30px));border:1px solid rgba(126,231,255,.18);border-radius:18px;background:#061723;color:#f3fbff;padding:26px;box-shadow:0 40px 100px rgba(0,0,0,.6)}.wof-player-dialog::backdrop{background:rgba(0,8,14,.78);backdrop-filter:blur(8px)}.wof-dialog-close{position:absolute;top:12px;left:12px;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#fff;font-size:20px}.wof-player-profile h3{font-size:30px;margin:8px 0 20px}.wof-player-profile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.wof-player-profile-grid>div{padding:13px;border:1px solid rgba(190,235,247,.1);border-radius:11px}.wof-player-profile-grid small{display:block;color:#76909c;font-size:9px}.wof-player-profile-grid b{font-size:18px}.wof-player-news{padding:12px;border-radius:10px;background:rgba(255,175,100,.07);color:#ffd09d}.wof-mini-history{display:flex;flex-wrap:wrap;gap:7px}.wof-mini-history span{padding:8px 10px;border:1px solid rgba(190,235,247,.1);border-radius:8px;font-size:10px}.input-row button:disabled{opacity:.55;cursor:wait}.input-row button.is-loading span{display:none}
@media(max-width:900px){.wof-fpl-summary-grid,.wof-fpl-overview-grid,.wof-fpl-live-grid{grid-template-columns:repeat(2,1fr)}.wof-fpl-pitch{min-height:auto}.wof-pitch-row{gap:8px;min-height:120px}.wof-player-card{width:105px}.wof-fpl-results-head{flex-direction:column}.wof-bench-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.wof-fpl-results{padding:16px;margin-top:34px;border-radius:18px}.wof-fpl-summary-grid{grid-template-columns:1fr 1fr}.wof-summary-card{padding:13px}.wof-summary-card b{font-size:18px}.wof-fpl-overview-grid,.wof-fpl-live-grid{grid-template-columns:1fr 1fr}.wof-fpl-pitch{padding:18px 5px}.wof-pitch-row{gap:4px;min-height:112px}.wof-player-card{width:82px;min-height:106px;padding:20px 4px 8px}.wof-player-card b{font-size:10px}.wof-player-points{font-size:15px}.wof-player-meta{display:none}.wof-list-row.fixture{grid-template-columns:1fr auto 1fr}.wof-list-row.fixture small{grid-column:1/-1}.wof-fpl-tabs{margin-left:-16px;margin-right:-16px;padding:0 16px}.wof-player-profile-grid{grid-template-columns:1fr 1fr}.wof-player-dialog{padding:20px}.wof-fpl-results-head h3{font-size:24px}}

/* ===== WOF FPL Tools Hub v1.2 ===== */
.wof-tools-hub{margin-top:28px}
.wof-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.wof-tool-card{appearance:none;text-align:right;background:linear-gradient(180deg,#0b1d29 0%,#091720 100%);border:1px solid rgba(112,214,246,.18);border-radius:18px;padding:22px;color:#eef9ff;min-height:220px;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;transition:.2s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)}
.wof-tool-card:hover{transform:translateY(-3px);border-color:rgba(112,214,246,.55);box-shadow:0 16px 45px rgba(0,0,0,.22),0 0 0 1px rgba(112,214,246,.08)}
.wof-tool-card.is-primary{background:linear-gradient(135deg,rgba(31,147,190,.22),#0a1a24 58%)}
.wof-tool-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#0d2a38;color:#73dcf7;font-size:20px;margin-bottom:20px}
.wof-tool-card small{color:#7f9baa;font-size:12px}.wof-tool-card h3{font-size:21px;line-height:1.35;margin:8px 0 9px}.wof-tool-card p{font-size:14px;line-height:1.9;color:#9cb1bd;margin:0 0 18px}.wof-tool-card b{margin-top:auto;color:#72def8;font-size:13px}
.wof-tool-workspace{margin-top:22px;border:1px solid rgba(112,214,246,.25);border-radius:22px;background:#071620;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.22)}
.wof-tool-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;border-bottom:1px solid rgba(112,214,246,.12);padding-bottom:18px;margin-bottom:18px}.wof-tool-workspace-head h3{font-size:30px;line-height:1.3;margin:4px 0 6px;color:#f4fbff}.wof-tool-workspace-head p{margin:0;color:#8ea8b6;line-height:1.8}.wof-tool-close{width:40px;height:40px;border-radius:12px;border:1px solid rgba(112,214,246,.2);background:#091c27;color:#eafaff;font-size:25px;cursor:pointer}
.wof-tool-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-bottom:18px}.wof-tool-controls label{display:flex;flex-direction:column;gap:7px;color:#8ea8b6;font-size:12px;min-width:190px}.wof-tool-controls select,.wof-tool-controls input{height:44px;border:1px solid rgba(112,214,246,.22);background:#06131c;color:#fff;border-radius:11px;padding:0 12px;font-family:inherit}.wof-tool-action{height:44px;padding:0 19px;border:0;border-radius:11px;background:#79ddf5;color:#05202b;font-weight:800;font-family:inherit;cursor:pointer}.wof-tool-note{color:#7893a1;font-size:12px;line-height:1.7}.wof-tool-loading,.wof-tool-placeholder{padding:38px;text-align:center;border:1px dashed rgba(112,214,246,.2);border-radius:16px;color:#89a6b4}
.wof-rank-list{display:grid;gap:8px}.wof-rank-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid rgba(112,214,246,.12);border-radius:14px;background:#081922;padding:8px}.wof-rank-row>i{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#0d2936;color:#78dcf5;font-style:normal;font-weight:800}.wof-rank-row>em{font-style:normal;color:#7796a5;font-size:12px;padding-inline:8px}
.wof-tool-player{appearance:none;border:0;background:transparent;color:#fff;text-align:right;padding:6px 8px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-family:inherit;min-width:0}.wof-tool-player span:first-child{display:flex;flex-direction:column;min-width:0}.wof-tool-player b{font-size:15px}.wof-tool-player small{color:#7593a3;font-size:11px;margin-top:3px}.wof-tool-player-stats{text-align:left!important;align-items:flex-end!important}.wof-tool-player-stats b{color:#7be1f8;font-size:13px}
.wof-compare-head{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center;text-align:center;margin-bottom:12px}.wof-compare-head>div{border:1px solid rgba(112,214,246,.15);border-radius:14px;padding:16px;background:#081922}.wof-compare-head b{display:block;font-size:18px}.wof-compare-head small{color:#829eac}.wof-compare-head>span{color:#72def8;font-weight:900}.wof-compare-grid{display:grid;gap:7px}.wof-compare-grid>div{display:grid;grid-template-columns:1fr 160px 1fr;align-items:center;text-align:center;border-bottom:1px solid rgba(112,214,246,.09);padding:12px}.wof-compare-grid strong{font-size:15px;color:#effbff}.wof-compare-grid small{color:#7895a5}
.wof-tool-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.wof-tool-summary>div{border:1px solid rgba(112,214,246,.13);border-radius:14px;padding:14px;background:#081922}.wof-tool-summary small{display:block;color:#7895a5}.wof-tool-summary b{font-size:18px;color:#fff}.wof-tool-warning{font-size:12px;color:#e0bf73;border:1px solid rgba(224,191,115,.2);background:rgba(224,191,115,.06);padding:11px 13px;border-radius:11px}
.wof-fixture-table{display:grid;gap:6px}.wof-fixture-table-head,.wof-fixture-team{display:grid;grid-template-columns:140px 80px 70px 70px minmax(0,1fr);gap:10px;align-items:center}.wof-fixture-table-head{color:#6f8d9d;font-size:11px;padding:0 12px}.wof-fixture-team{border:1px solid rgba(112,214,246,.11);background:#081922;border-radius:13px;padding:12px}.wof-fixture-team>div{display:flex;gap:6px;flex-wrap:wrap}.wof-fixture-team small{padding:5px 7px;border-radius:7px;background:#102633;color:#afc3cc}.wof-fixture-team .fdr-1,.wof-fixture-team .fdr-2{background:rgba(47,191,123,.12);color:#7ee3aa}.wof-fixture-team .fdr-4,.wof-fixture-team .fdr-5{background:rgba(238,92,92,.12);color:#ff9a9a}
.wof-market-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.wof-market-col{border:1px solid rgba(112,214,246,.12);border-radius:15px;background:#081922;padding:12px}.wof-market-col h4{margin:2px 0 10px}.wof-market-col button{width:100%;display:grid;grid-template-columns:26px 1fr auto;gap:8px;align-items:center;border:0;border-bottom:1px solid rgba(112,214,246,.08);background:transparent;color:#fff;padding:10px 4px;text-align:right;font-family:inherit;cursor:pointer}.wof-market-col i{font-style:normal;color:#72def8}.wof-market-col span{display:flex;flex-direction:column}.wof-market-col small{color:#7693a2}.wof-market-col strong{color:#dff9ff;font-size:12px}
.wof-live-center-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wof-live-center-grid>div{border:1px solid rgba(112,214,246,.12);border-radius:15px;padding:14px;background:#081922}.wof-live-center-grid h4{margin:0 0 12px}.wof-live-game{display:grid;grid-template-columns:1fr 60px 1fr auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(112,214,246,.08)}.wof-live-game span:first-child{text-align:left}.wof-live-game b{text-align:center}.wof-live-game small{color:#7fa0ae}.wof-live-top-player{display:grid;grid-template-columns:25px 1fr auto auto;gap:8px;width:100%;align-items:center;background:transparent;border:0;border-bottom:1px solid rgba(112,214,246,.08);color:#fff;padding:10px 0;text-align:right;font-family:inherit;cursor:pointer}.wof-live-top-player i{font-style:normal;color:#72def8}.wof-live-top-player span{display:flex;flex-direction:column}.wof-live-top-player small{color:#75919f}.wof-live-top-player em{font-style:normal;color:#7693a2;font-size:11px}
.wof-live-event-sides{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr);direction:ltr;gap:8px;align-items:start;padding-top:4px}.wof-live-event-side{display:flex;flex-direction:column;gap:5px;min-width:0;direction:rtl}.wof-live-event-side.is-home{grid-column:1;text-align:left;align-items:flex-start}.wof-live-event-side.is-away{grid-column:3;text-align:right;align-items:flex-end}.wof-live-event-side em{display:flex;align-items:center;gap:5px;max-width:100%;font-style:normal;font-size:11px;color:#f4fbff}.wof-live-event-side em small{color:#8fa8b3;font-size:9px}.wof-live-event-side em b{color:#72def8;font-size:10px}
@media(max-width:680px){.wof-live-event-sides{grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);gap:5px}.wof-live-event-side em{font-size:10px}.wof-live-event-side em small{font-size:8px}}
.wof-setpiece-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.wof-setpiece-card{border:1px solid rgba(112,214,246,.12);border-radius:15px;background:#081922;padding:13px}.wof-setpiece-card h4{margin:0 0 10px}.wof-setpiece-card button{width:100%;display:flex;justify-content:space-between;gap:8px;border:0;border-top:1px solid rgba(112,214,246,.08);background:transparent;color:#fff;padding:10px 0;font-family:inherit;cursor:pointer}.wof-setpiece-card small{color:#7593a2}.wof-setpiece-card b{font-size:12px}

@media(max-width:980px){.wof-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wof-setpiece-grid{grid-template-columns:repeat(2,1fr)}.wof-fixture-table-head,.wof-fixture-team{grid-template-columns:100px 65px 55px 55px minmax(0,1fr)}}
@media(max-width:680px){.wof-tools-grid{grid-template-columns:1fr}.wof-tool-card{min-height:190px;padding:18px}.wof-tool-workspace{padding:16px;border-radius:17px}.wof-tool-workspace-head h3{font-size:24px}.wof-tool-controls{display:grid;grid-template-columns:1fr;width:100%}.wof-tool-controls label{min-width:0;width:100%}.wof-tool-action{width:100%}.wof-rank-row{grid-template-columns:34px minmax(0,1fr)}.wof-rank-row>em{grid-column:2}.wof-compare-grid>div{grid-template-columns:1fr 100px 1fr;padding:10px 2px}.wof-tool-summary{grid-template-columns:1fr}.wof-fixture-table-head{display:none}.wof-fixture-team{grid-template-columns:1fr 55px 45px 45px}.wof-fixture-team>div{grid-column:1/-1}.wof-market-grid,.wof-live-center-grid,.wof-setpiece-grid{grid-template-columns:1fr}.wof-live-game{grid-template-columns:1fr 50px 1fr}.wof-live-game small{grid-column:1/-1;text-align:center}.wof-live-top-player{grid-template-columns:25px 1fr auto}.wof-live-top-player em{grid-column:2/-1;text-align:left}.wof-compare-head{gap:8px}.wof-compare-head>div{padding:12px 6px}}
.id-card .hint b{color:#dffaff}.wof-use-other-id,.wof-change-saved-id{appearance:none;border:0;background:transparent;color:#71def6;font-family:inherit;font-size:inherit;font-weight:800;text-decoration:underline;cursor:pointer;padding:0 5px}.id-card .input-row input[readonly]{color:#a7c5d1;background:rgba(3,18,28,.72);cursor:default}.id-card .input-row input.is-editing{color:#fff;border-color:#70ddf5;background:rgba(7,31,43,.95)}

/* v1.8 — clean RTL metrics, readable fixtures and period-aware market data. */
.wof-tool-output,.wof-tool-controls{direction:rtl;text-align:right}
.wof-rank-row{direction:rtl;grid-template-columns:40px minmax(0,1fr) minmax(190px,auto)}
.wof-tool-player{direction:rtl;text-align:right;gap:18px}
.wof-tool-player-name{align-items:flex-start!important;text-align:right}.wof-tool-player-name small{display:flex!important;align-items:center;gap:6px;direction:rtl}.wof-tool-player-name small i{color:#3e6474;font-style:normal}
.wof-tool-player-stats{display:flex!important;flex:0 0 auto;flex-direction:row!important;flex-wrap:wrap;justify-content:flex-end;align-items:center!important;gap:6px;text-align:right!important}
.wof-tool-player-stats b{display:inline-flex;padding:5px 8px;border:1px solid rgba(123,225,248,.14);border-radius:7px;background:rgba(123,225,248,.06);white-space:nowrap;line-height:1.2}
.wof-tool-player-stats small{width:100%;margin:0!important;text-align:left}
.wof-rank-row>em{direction:rtl;text-align:right;white-space:normal;line-height:1.7}
.wof-fdr-guide{display:flex;align-items:flex-start;gap:11px;width:100%;padding:13px 15px;border:1px solid rgba(112,214,246,.14);border-radius:13px;background:rgba(112,214,246,.045);color:#91aab6;line-height:1.8}.wof-fdr-guide>b{flex:0 0 auto;color:#dff8ff}.wof-fdr-guide span{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.wof-fdr-guide i{padding:2px 7px;border-radius:6px;font-style:normal}.wof-fdr-guide .fdr-2{color:#7ee3aa;background:rgba(47,191,123,.12)}.wof-fdr-guide .fdr-3{color:#ffd481;background:rgba(255,188,75,.11)}.wof-fdr-guide .fdr-4{color:#ff9a9a;background:rgba(238,92,92,.12)}
.wof-fixture-team>div{display:grid;grid-template-columns:repeat(5,minmax(125px,1fr));gap:7px}.wof-fixture-team small{display:flex;flex-direction:column;gap:3px;line-height:1.45}.wof-fixture-team small>b{font-size:10px;color:inherit}.wof-fixture-team small>span{font-size:11px;color:#e6f7fb}.wof-fixture-team small>em{font-size:9px;font-style:normal;color:inherit;opacity:.85}
.wof-market-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.wof-market-filters button{min-height:38px;padding:0 13px;border:1px solid rgba(112,214,246,.15);border-radius:9px;background:#071923;color:#8fa8b5;font:800 11px inherit;cursor:pointer}.wof-market-filters button.is-active{border-color:#73ddf4;background:#73ddf4;color:#04202a}.wof-market-availability{margin:0 0 10px;padding:9px 12px;border-radius:9px;background:rgba(255,196,91,.06);color:#d8b978;font-size:10px}
@media(max-width:680px){.wof-rank-row{grid-template-columns:34px minmax(0,1fr)}.wof-rank-row>em{grid-column:2}.wof-tool-player{align-items:flex-start;flex-direction:column}.wof-tool-player-stats{width:100%;justify-content:flex-start}.wof-tool-player-stats small{text-align:right}.wof-fixture-team>div{grid-template-columns:1fr}.wof-fdr-guide{flex-direction:column}.wof-market-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.wof-market-filters button{width:100%}}

/* ===== WOF FPL Tools Hub v1.7 — stadium atmosphere + color-coded tools ===== */
#tools.tabs-section{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 4%,rgba(109,70,255,.18),transparent 34%),radial-gradient(ellipse at 12% 40%,rgba(0,255,184,.08),transparent 28%),linear-gradient(180deg,#061521 0%,#03101a 58%,#05131e 100%)}
#tools.tabs-section:before{content:"";position:absolute;z-index:-2;inset:0;pointer-events:none;opacity:.72;background:linear-gradient(115deg,transparent 0 14%,rgba(255,255,255,.025) 14.2% 14.5%,transparent 14.7% 37%,rgba(255,255,255,.02) 37.2% 37.5%,transparent 37.7%),repeating-linear-gradient(90deg,transparent 0 78px,rgba(146,225,255,.035) 79px 80px),repeating-linear-gradient(0deg,transparent 0 78px,rgba(146,225,255,.028) 79px 80px)}
#tools.tabs-section:after{content:"";position:absolute;z-index:-1;left:-8%;right:-8%;bottom:-220px;height:520px;border:1px solid rgba(153,238,255,.075);border-radius:50% 50% 0 0;background:radial-gradient(ellipse at 50% 0%,rgba(34,219,153,.1),transparent 55%),repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 2px,transparent 2px 38px);transform:perspective(650px) rotateX(63deg);transform-origin:bottom;pointer-events:none}
#tools.tabs-section>.container{position:relative;z-index:1}.wof-tools-hub{position:relative;padding:8px 0 18px}.wof-tools-grid{gap:16px}
.wof-tool-card{--tool:#75e7ff;--tool-rgb:117,231,255;position:relative;isolation:isolate;overflow:hidden;border-color:rgba(var(--tool-rgb),.24);background:linear-gradient(145deg,rgba(var(--tool-rgb),.12),rgba(6,23,34,.96) 48%,rgba(4,16,25,.98));box-shadow:inset 0 1px rgba(255,255,255,.045),0 18px 40px rgba(0,0,0,.14);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.wof-tool-card:before{content:"";position:absolute;z-index:-1;width:190px;height:190px;left:-85px;top:-100px;border-radius:50%;background:radial-gradient(circle,rgba(var(--tool-rgb),.17),transparent 69%);transition:.3s}.wof-tool-card:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,transparent,var(--tool),transparent);opacity:.65}.wof-tool-card:hover{transform:translateY(-7px);border-color:rgba(var(--tool-rgb),.65);box-shadow:0 24px 60px rgba(0,0,0,.3),0 0 32px rgba(var(--tool-rgb),.09)}.wof-tool-card:hover:before{transform:scale(1.22);opacity:1}
.wof-tool-card[data-wof-tool=analyzer]{--tool:#62e8ff;--tool-rgb:98,232,255}.wof-tool-card[data-wof-tool=captain]{--tool:#ffd45f;--tool-rgb:255,212,95}.wof-tool-card[data-wof-tool=transfers]{--tool:#8f7cff;--tool-rgb:143,124,255}.wof-tool-card[data-wof-tool=compare]{--tool:#ff7ea8;--tool-rgb:255,126,168}.wof-tool-card[data-wof-tool=fixtures]{--tool:#64e7aa;--tool-rgb:100,231,170}.wof-tool-card[data-wof-tool=differentials]{--tool:#ff9d63;--tool-rgb:255,157,99}.wof-tool-card[data-wof-tool=market]{--tool:#55b8ff;--tool-rgb:85,184,255}.wof-tool-card[data-wof-tool=setpieces]{--tool:#e78cff;--tool-rgb:231,140,255}
.wof-tool-card.is-primary{background:linear-gradient(145deg,rgba(var(--tool-rgb),.2),rgba(7,30,43,.97) 52%,rgba(3,17,27,.99))}.wof-tool-icon{width:48px;height:48px;border:1px solid rgba(var(--tool-rgb),.28);border-radius:15px;background:linear-gradient(145deg,rgba(var(--tool-rgb),.2),rgba(var(--tool-rgb),.07));color:var(--tool);box-shadow:0 10px 24px rgba(var(--tool-rgb),.1)}.wof-tool-icon svg{width:25px;height:25px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wof-tool-card small{color:rgba(var(--tool-rgb),.74);font-weight:800}.wof-tool-card h3{color:#f4fbff}.wof-tool-card b{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(var(--tool-rgb),.2);border-radius:10px;background:rgba(var(--tool-rgb),.08);color:var(--tool)}.wof-tool-card b i{font-style:normal;transition:transform .2s}.wof-tool-card:hover b i{transform:translateX(-4px)}
@media(max-width:680px){#tools.tabs-section:before{background:repeating-linear-gradient(90deg,transparent 0 54px,rgba(146,225,255,.03) 55px 56px),repeating-linear-gradient(0deg,transparent 0 54px,rgba(146,225,255,.025) 55px 56px)}#tools.tabs-section:after{bottom:-280px}.wof-tool-card{min-height:205px}.wof-tool-icon{width:44px;height:44px;border-radius:13px;margin-bottom:15px}.wof-tool-icon svg{width:23px;height:23px}.wof-tool-card b{padding:8px 11px}}

/* v1.7.1 — restore the theme's original plain section background */
#tools.tabs-section{background:transparent}
#tools.tabs-section:before,#tools.tabs-section:after{display:none}

/* v1.7.3 — compact 4 × 2 PC grid without shrinking tablet/mobile cards */
@media(min-width:1180px){.wof-tools-hub{margin-top:16px;padding:4px 0 10px}.wof-tools-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.wof-tool-card{min-height:178px;padding:15px 16px;border-radius:15px}.wof-tool-icon{width:38px;height:38px;margin-bottom:10px;border-radius:11px}.wof-tool-icon svg{width:20px;height:20px}.wof-tool-card small{font-size:9px}.wof-tool-card h3{font-size:17px;line-height:1.35;margin:5px 0 5px}.wof-tool-card p{font-size:11px;line-height:1.65;margin-bottom:9px}.wof-tool-card b{padding:6px 9px;border-radius:8px;font-size:10px}}

/* v1.7.5 — live rank context and automatic pitch-first presentation */
.wof-summary-card em{display:block;margin-top:5px;color:#668592;font-size:8px;font-style:normal;line-height:1.5}
.wof-player-search{position:relative;min-width:230px}.wof-player-search>input{width:100%;border:1px solid rgba(112,214,246,.18);border-radius:10px;background:#061923;color:#fff;padding:11px 12px;font:inherit;outline:0}.wof-player-search>input:focus{border-color:#69dff4}.wof-player-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.wof-player-search-menu{position:absolute;z-index:35;top:calc(100% + 6px);left:0;right:0;max-height:310px;overflow:auto;border:1px solid rgba(112,214,246,.2);border-radius:12px;background:#061923;box-shadow:0 22px 50px rgba(0,0,0,.5)}.wof-player-search-menu[hidden]{display:none}.wof-player-search-menu button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 11px;border:0;border-bottom:1px solid rgba(112,214,246,.07);background:transparent;color:#fff;text-align:right;font:inherit;cursor:pointer}.wof-player-search-menu button:hover{background:rgba(112,214,246,.08)}.wof-player-search-menu button b{font-size:11px}.wof-player-search-menu button small{color:#7593a3;font-size:8px}.wof-player-search-menu p{margin:0;padding:18px;text-align:center;color:#7895a1;font-size:10px}


/* v1.8.1 — use the exact supplied Challenge XI club shirts in the official FPL squad view. */
.wof-player-card-kit{
  width:132px;min-height:158px;padding:24px 7px 10px;
  background:transparent;border-color:rgba(185,242,255,.16);
  box-shadow:none;overflow:visible;
}
.wof-player-card-kit:hover{background:rgba(3,18,29,.24);box-shadow:none}
.wof-fpl-kit{
  display:block;width:96px;height:104px;margin:0 auto -5px;
  transform:scale(var(--wof-kit-scale,1));transform-origin:center bottom;
}
.wof-fpl-kit img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 9px rgba(0,0,0,.3))}
.wof-fpl-kit-fallback{display:grid;place-items:center;width:84px;height:82px;margin:8px auto;border-radius:20px;background:rgba(98,219,242,.08);color:#72e4f7;font-weight:900}
.wof-player-card-kit>b{margin:0 auto 2px;max-width:118px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wof-player-card-kit .wof-player-points{margin-top:3px}
.wof-player-card-kit .wof-player-price{display:block;margin-top:2px;color:#8fa6b2}
.wof-player-card-kit .wof-player-team{display:none}
@media(max-width:900px){.wof-player-card-kit{width:112px;min-height:142px}.wof-fpl-kit{width:82px;height:89px}}
@media(max-width:600px){
  .wof-player-card-kit{width:78px;min-height:118px;padding:20px 2px 7px;border:0}
  .wof-fpl-kit{width:60px;height:66px;margin-bottom:-2px}
  .wof-player-card-kit>b{font-size:9px;max-width:74px}
  .wof-player-card-kit .wof-player-points{font-size:14px}
  .wof-player-card-kit .wof-player-price{font-size:8px}
}

/* v1.8.3 — all supplied club shirt canvases share one size. */
.wof-fpl-kit{--wof-kit-scale:1!important;transform:scale(1)!important;transform-origin:center bottom!important}

/* v1.8.4 FINAL shirts: only latest user PNGs, equal display size */
.wof-fpl-kit{transform:none!important;width:88px!important;height:96px!important;margin:0 auto 4px!important;display:block!important}.wof-fpl-kit img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;max-width:none!important;max-height:none!important}@media(max-width:600px){.wof-fpl-kit{width:58px!important;height:64px!important}}

/* v1.8.6 — market filters removed; current-GW market only */
.wof-market-filters{display:none!important}


/* v1.8.7 — compact squad view: fit the complete XI in a normal desktop viewport. */
@media(min-width:901px){
  .wof-fpl-results{margin-top:28px;padding:18px 20px;border-radius:20px}
  .wof-fpl-results-head{padding-bottom:13px;gap:14px}
  .wof-fpl-results-head h3{font-size:24px;margin:4px 0 2px}
  .wof-fpl-results-head p{font-size:11px}
  .wof-fpl-summary-grid{margin:12px 0;gap:8px}
  .wof-summary-card{padding:10px 12px}
  .wof-summary-card small{margin-bottom:3px}
  .wof-summary-card b{font-size:18px}
  .wof-fpl-progress{margin:4px 0 12px;padding:9px 12px}
  .wof-fpl-tabs{margin:14px 0 10px}
  .wof-fpl-tab{padding:8px 12px;font-size:11px}
  .wof-fpl-pitch{min-height:470px;padding:10px 12px}
  .wof-fpl-pitch:before{inset:8px}
  .wof-pitch-row{gap:10px;min-height:108px}
  .wof-player-card-kit{width:104px;min-height:108px;padding:17px 4px 5px}
  .wof-fpl-kit{width:68px!important;height:74px!important;margin:0 auto -3px!important}
  .wof-player-card-kit>b{font-size:10px;line-height:1.2;max-width:98px;margin:0 auto 1px}
  .wof-player-card-kit .wof-player-points{font-size:14px;margin-top:1px;line-height:1.2}
  .wof-player-card-kit .wof-player-points small{font-size:7px}
  .wof-player-card-kit .wof-player-price{font-size:7px;margin-top:1px}
  .wof-player-card-kit .wof-player-meta{font-size:6px;margin-top:2px}
  .wof-player-top{top:3px;left:3px;right:3px}
  .wof-player-flag,.wof-player-status{min-width:18px;height:17px;font-size:7px;border-radius:5px}
  .wof-fpl-bench{margin-top:7px;padding:9px 12px}
  .wof-bench-title{margin-bottom:6px}
  .wof-bench-grid{gap:7px}
  .wof-bench-grid .wof-player-card-kit{min-height:102px}
}
@media(min-width:901px) and (max-height:800px){
  .wof-fpl-results{margin-top:18px;padding:14px 18px}
  .wof-fpl-summary-grid,.wof-fpl-progress{display:none}
  .wof-fpl-tabs{margin-top:8px}
  .wof-fpl-pitch{min-height:420px}
  .wof-pitch-row{min-height:96px}
  .wof-player-card-kit{width:96px;min-height:98px;padding-top:15px}
  .wof-fpl-kit{width:60px!important;height:65px!important}
}

/* v1.9.0 — compact MY FANTASY cockpit */
.wof-fpl-results{padding:18px 20px 16px;border-radius:20px}
.wof-fpl-results-head{align-items:center;padding-bottom:12px;gap:14px}
.wof-fpl-results-head h3{font-size:23px;margin:4px 0 2px}
.wof-fpl-results-head p{font-size:11px}
.wof-fpl-badges>span{padding:6px 8px}
.wof-fpl-notice{margin:10px 0;padding:9px 12px;font-size:11px}
.wof-fpl-dashboard{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(270px,.8fr);grid-template-areas:"squad side";gap:14px;margin-top:12px;align-items:start;direction:ltr}
.wof-fpl-dashboard-squad{grid-area:squad;direction:rtl;min-width:0}
.wof-fpl-dashboard-side{grid-area:side;direction:rtl;min-width:0;border:1px solid rgba(190,235,247,.1);border-radius:15px;background:rgba(255,255,255,.018);padding:11px}
.wof-fpl-mini-head,.wof-fpl-side-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 7px}
.wof-fpl-mini-head b,.wof-fpl-side-title b{font-size:11px;color:#eaf8ff}
.wof-fpl-mini-head span,.wof-fpl-side-title span{font-size:8px;color:#6edff4;letter-spacing:.08em}
.wof-fpl-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0 0 8px}
.wof-summary-card{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:34px;padding:7px 9px;border-radius:9px}
.wof-summary-card small{margin:0;font-size:8px;line-height:1.25}
.wof-summary-card b{font-size:14px;line-height:1;white-space:nowrap}
.wof-summary-card em{display:none}
.wof-fpl-progress{margin:5px 0 8px;padding:8px 9px;border-radius:9px}
.wof-fpl-progress-head{font-size:8px;margin-bottom:6px}
.wof-fpl-progress-track{height:5px}
.wof-fpl-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.wof-fpl-insight-card{padding:8px 9px;border-radius:9px;min-height:57px}
.wof-fpl-insight-card span{font-size:8px}
.wof-fpl-insight-card strong{font-size:14px;margin:4px 0 2px;line-height:1.1}
.wof-fpl-insight-card small{font-size:7px;line-height:1.25}
.wof-fpl-insights{gap:4px;margin-top:6px;max-height:74px;overflow:auto}
.wof-fpl-insight-line{padding:6px 8px;border-radius:8px;font-size:8px;line-height:1.35}
.wof-fpl-pitch{min-height:0;padding:8px 8px 7px;border-radius:14px;background:repeating-linear-gradient(0deg,rgba(84,200,142,.05) 0 1px,transparent 1px 61px),linear-gradient(180deg,rgba(25,105,73,.28),rgba(10,66,53,.16))}
.wof-fpl-pitch:before{inset:7px}
.wof-pitch-row{gap:7px;min-height:99px}
.wof-player-card{width:92px;min-height:100px;border-radius:10px;box-shadow:0 6px 16px rgba(0,0,0,.2)}
.wof-player-card b{font-size:9px;margin:2px 0 0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wof-player-card small{font-size:7px}
.wof-player-points{font-size:12px;margin-top:2px;line-height:1}
.wof-player-points small{font-size:6px}
.wof-player-meta{display:none}
.wof-player-top{top:4px;left:4px;right:4px}
.wof-player-flag,.wof-player-status{min-width:17px;height:16px;font-size:7px;border-radius:5px}
.wof-fpl-bench{margin-top:6px;padding:6px 7px;border-radius:11px}
.wof-bench-title{font-size:8px;margin-bottom:4px}
.wof-bench-grid{gap:6px}
.wof-bench-grid .wof-player-card{min-height:95px}
.wof-fpl-tabs{margin:12px 0 8px}
.wof-fpl-tab{padding:8px 10px;font-size:10px}
.wof-fpl-panel{padding-top:2px}
.wof-fpl-live-grid{grid-template-columns:repeat(4,1fr);gap:6px}
.wof-live-tile{padding:9px;border-radius:10px}
.wof-live-tile b{font-size:16px;margin:4px 0 0}

@media (min-width:901px) and (max-height:850px){
  .wof-fpl-results{margin-top:28px;padding-top:14px}
  .wof-pitch-row{min-height:91px}
  .wof-player-card{width:86px}
  .wof-player-card.wof-player-card-kit{min-height:98px!important}
  .wof-player-card.wof-player-card-kit .wof-fpl-kit{width:52px!important;height:55px!important}
  .wof-fpl-insight-card{min-height:51px}
  .wof-fpl-insights{max-height:55px}
}
@media(max-width:900px){
  .wof-fpl-dashboard{grid-template-columns:1fr;grid-template-areas:"squad" "side";direction:rtl}
  .wof-fpl-dashboard-side{padding:10px}
  .wof-fpl-pitch{padding:8px 4px}
  .wof-pitch-row{gap:4px;min-height:96px}
  .wof-player-card{width:80px}
  .wof-bench-grid{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:600px){
  .wof-fpl-results{padding:12px 9px;margin-top:24px}
  .wof-fpl-results-head{padding-bottom:9px}
  .wof-fpl-results-head h3{font-size:19px}
  .wof-fpl-dashboard{gap:9px;margin-top:9px}
  .wof-fpl-mini-head span{display:none}
  .wof-pitch-row{gap:2px;min-height:88px}
  .wof-player-card{width:67px;min-height:91px}
  .wof-player-card b{font-size:8px}
  .wof-player-points{font-size:11px}
  .wof-bench-grid{gap:3px}
  .wof-summary-card{min-height:32px;padding:6px 7px}
  .wof-summary-card b{font-size:13px}
  .wof-fpl-overview-grid{grid-template-columns:repeat(2,1fr)}
}

/* v1.9.1 — branded pitch watermark + focused league standing */
.wof-fpl-pitch::after{
  content:"";
  position:absolute;
  inset:50% auto auto 50%;
  width:min(42%,260px);
  aspect-ratio:1/1;
  transform:translate(-50%,-50%);
  background:url('images/wof-watermark.png') center/contain no-repeat;
  opacity:.07;
  filter:grayscale(1) brightness(1.8);
  pointer-events:none;
  z-index:0;
}
.wof-pitch-row{z-index:1}
.wof-league-standings span.is-me{
  border:1px solid rgba(110,223,244,.28);
  background:rgba(110,223,244,.08);
  border-radius:8px;
  padding:8px 9px;
}
.wof-league-standings span.is-me strong{
  display:inline-flex;
  margin-inline-start:6px;
  padding:2px 6px;
  border-radius:999px;
  background:#73e1f5;
  color:#04202b;
  font-size:8px;
}

/* v1.9.2 — Challenge XI inspired player plates while keeping the current shared kits. */
.wof-fpl-pitch .wof-player-card.wof-player-card-kit,
.wof-fpl-bench .wof-player-card.wof-player-card-kit{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  filter:drop-shadow(0 9px 12px rgba(0,0,0,.22));
  transition:transform .2s ease,filter .2s ease!important;
}
.wof-fpl-pitch .wof-player-card.wof-player-card-kit:hover,
.wof-fpl-bench .wof-player-card.wof-player-card-kit:hover{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  transform:translateY(-3px);
  filter:drop-shadow(0 12px 16px rgba(0,0,0,.3));
}
/* Keep the existing/current shirt assets untouched; only polish their presentation. */
.wof-player-card.wof-player-card-kit .wof-fpl-kit{
  position:relative;
  z-index:2;
  filter:drop-shadow(0 5px 7px rgba(0,0,0,.28));
}
/* Challenge XI style name plate. */
.wof-player-card.wof-player-card-kit>b{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:4px 6px 3px!important;
  border:0!important;
  border-radius:7px 7px 2px 2px!important;
  background:#ecf8fb!important;
  color:#041722!important;
  font-weight:900!important;
  line-height:1.2!important;
  box-shadow:0 4px 9px rgba(0,0,0,.16)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
/* Cyan points strip, matching the Challenge XI card language. */
.wof-player-card.wof-player-card-kit .wof-player-points{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:2px 5px!important;
  background:#72dff5!important;
  color:#041722!important;
  font-weight:900!important;
  line-height:1.25!important;
}
.wof-player-card.wof-player-card-kit .wof-player-points small{
  color:#041722!important;
  opacity:.72;
}
/* Dark lower plate for price/team, like XI's footer row. */
.wof-player-card.wof-player-card-kit .wof-player-price{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:3px 5px!important;
  border:1px solid rgba(112,221,245,.34)!important;
  border-top:0!important;
  border-radius:0 0 7px 7px!important;
  background:#082b37!important;
  color:#c9eef6!important;
  font-weight:800!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.wof-player-card.wof-player-card-kit .wof-player-top{z-index:5}

@media(min-width:901px){
  .wof-fpl-pitch .wof-player-card.wof-player-card-kit{width:88px!important;padding-left:2px!important;padding-right:2px!important}
  .wof-fpl-bench .wof-player-card.wof-player-card-kit{padding-left:3px!important;padding-right:3px!important}
  .wof-player-card.wof-player-card-kit>b{font-size:9px!important}
  .wof-player-card.wof-player-card-kit .wof-player-points{font-size:12px!important}
  .wof-player-card.wof-player-card-kit .wof-player-price{font-size:7px!important}
}
@media(max-width:900px){
  .wof-player-card.wof-player-card-kit>b{font-size:8px!important;padding:3px 3px!important}
  .wof-player-card.wof-player-card-kit .wof-player-points{font-size:10px!important;padding:2px 3px!important}
  .wof-player-card.wof-player-card-kit .wof-player-price{font-size:6px!important;padding:2px 2px!important}
}

/* v1.10.8 — center close glyphs exactly inside FPL Tools buttons. */
.wof-tool-close,
.wof-dialog-close{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  font-family:Arial,Helvetica,sans-serif!important;
}
.wof-tool-close{
  flex:0 0 40px!important;
}
.wof-dialog-close{
  line-height:34px!important;
}

/* v1.11.0 — premium Fixture Difficulty board inspired by the WOF match-grid visual language. */
.wof-fixture-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:stretch;margin-bottom:14px;padding:20px;border:1px solid rgba(112,214,246,.14);border-radius:18px;background:radial-gradient(circle at 15% 20%,rgba(77,217,240,.09),transparent 34%),linear-gradient(145deg,#071923,#06131d)}
.wof-fixture-hero>div:first-child{display:flex;flex-direction:column;justify-content:center}.wof-fixture-kicker{font-size:9px;letter-spacing:.14em;color:#70dff4;font-weight:900}.wof-fixture-hero h4{margin:5px 0 5px;color:#f6fbff;font-size:clamp(25px,3.2vw,42px);letter-spacing:.02em}.wof-fixture-hero p{margin:0;color:#91a8b3;font-size:12px}.wof-fdr-legend{display:grid;gap:6px;padding:12px 14px;border:1px solid rgba(112,214,246,.13);border-radius:14px;background:#07141d}.wof-fdr-legend>b{font-size:11px;color:#e9f8fc;margin-bottom:2px}.wof-fdr-legend>span{display:grid;grid-template-columns:64px 1fr auto;gap:8px;align-items:center;font-size:9px}.wof-fdr-legend em{font-style:normal;color:#8ea6b2}.wof-fdr-legend strong{font-size:9px;color:#d9e7ed}
.wof-fdr-dots{display:inline-flex;gap:3px;align-items:center}.wof-fdr-dots i{display:block;width:10px;height:7px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.05)}.wof-fdr-dots.fdr-1 i.on{background:#69d46d}.wof-fdr-dots.fdr-2 i.on{background:#3cc7d8}.wof-fdr-dots.fdr-3 i.on{background:#f6c64d}.wof-fdr-dots.fdr-4 i.on{background:#f28a36}.wof-fdr-dots.fdr-5 i.on{background:#f04455}
.wof-gw-range{display:flex;align-items:center;justify-content:center;gap:7px;overflow:auto;margin:0 0 14px;padding:7px;border:1px solid rgba(112,214,246,.11);border-radius:999px;background:#071720;scrollbar-width:none}.wof-gw-range::-webkit-scrollbar{display:none}.wof-gw-range>b,.wof-gw-range>span{white-space:nowrap}.wof-gw-range>b{font-size:9px;color:#e6f6fb;padding:0 10px}.wof-gw-range>span{min-width:70px;text-align:center;padding:8px 12px;border:1px solid rgba(112,214,246,.08);border-radius:999px;color:#7f99a6;font-size:11px;font-weight:900;background:#091b26}.wof-gw-range>span.is-active{color:#79e6f8;border-color:#54d8ed;background:rgba(73,212,235,.09);box-shadow:inset 0 -2px 0 #54d8ed}
.wof-fixture-board-wrap{width:100%;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.wof-fixture-board{display:grid;gap:7px;min-width:max(900px,100%)}.wof-fixture-board-head,.wof-fixture-board-row{display:grid;grid-template-columns:260px repeat(var(--wof-gw-count),minmax(135px,1fr));gap:8px;align-items:stretch}.wof-fixture-board-head{padding:0 8px;color:#65d9ed;font-size:10px;text-align:center}.wof-fixture-board-head span{text-align:right;color:#708b98}.wof-fixture-board-head b{font-size:11px}.wof-fixture-board-row{padding:8px;border:1px solid rgba(112,214,246,.13);border-radius:15px;background:linear-gradient(145deg,#071923,#06141d);box-shadow:0 10px 28px rgba(0,0,0,.12)}
.wof-fx-team{display:grid;grid-template-columns:58px 1fr;gap:11px;align-items:center;padding:6px 8px}.wof-team-monogram{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;border:1px solid rgba(112,214,246,.22);background:radial-gradient(circle at 35% 30%,rgba(112,214,246,.14),rgba(5,22,31,.92));color:#eafaff;font-size:12px;font-weight:950;letter-spacing:.04em}.wof-fx-team>div{display:flex;flex-direction:column;gap:2px}.wof-fx-team b{font-size:13px;color:#f5fbff}.wof-fx-team small{font-size:8px;color:#6f8996;letter-spacing:.08em}.wof-fx-team strong{font-size:12px}.wof-fx-team strong em{font-style:normal;font-size:9px;margin-inline-start:5px}.wof-fx-team strong.fdr-1,.wof-fx-team strong.fdr-2{color:#77dfa2}.wof-fx-team strong.fdr-3{color:#f2c759}.wof-fx-team strong.fdr-4{color:#f4a059}.wof-fx-team strong.fdr-5{color:#ff7b83}.wof-fx-flags{color:#d6b86c!important;letter-spacing:0!important}
.wof-fx-stack{display:grid;gap:5px}.wof-fx-cell{min-height:82px;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:9px 11px;border:1px solid rgba(190,235,247,.09);border-radius:11px;background:#091c27}.wof-fx-cell.fdr-1{background:linear-gradient(145deg,rgba(49,170,89,.13),#091c27)}.wof-fx-cell.fdr-2{background:linear-gradient(145deg,rgba(41,164,184,.13),#091c27)}.wof-fx-cell.fdr-3{background:linear-gradient(145deg,rgba(204,164,54,.12),#091c27)}.wof-fx-cell.fdr-4{background:linear-gradient(145deg,rgba(213,114,45,.12),#091c27)}.wof-fx-cell.fdr-5{background:linear-gradient(145deg,rgba(212,57,72,.13),#091c27)}.wof-fx-opponent{display:flex;align-items:center;justify-content:space-between;gap:8px}.wof-fx-opponent>b{font-size:14px;color:#f3fbff}.wof-fx-venue{font-size:9px;color:#9bb2bd}.wof-fx-cell>small{font-size:8px;color:#839ca8}.wof-fx-cell.is-blank{align-items:center;text-align:center;opacity:.68;background:repeating-linear-gradient(-45deg,#091923,#091923 7px,#0b1e29 7px,#0b1e29 14px)}.wof-fx-cell.is-blank>span{font-size:11px;font-weight:900;color:#78929e}.wof-fixture-tip{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px;padding:12px;border:1px solid rgba(112,214,246,.11);border-radius:13px;background:#071720;color:#a9bec7;font-size:11px}.wof-fixture-tip span{font-size:17px}.wof-fixture-tip b{font-weight:700}
@media(max-width:760px){.wof-fixture-hero{grid-template-columns:1fr;padding:15px}.wof-fixture-hero h4{font-size:28px}.wof-fdr-legend{grid-template-columns:repeat(5,1fr);gap:4px}.wof-fdr-legend>b{grid-column:1/-1}.wof-fdr-legend>span{display:flex;flex-direction:column;gap:3px;text-align:center}.wof-fdr-legend>span strong{display:none}.wof-fdr-dots i{width:7px}.wof-gw-range{justify-content:flex-start;border-radius:13px}.wof-fixture-board-head,.wof-fixture-board-row{grid-template-columns:210px repeat(var(--wof-gw-count),125px)}.wof-fixture-board{min-width:calc(210px + (var(--wof-gw-count) * 133px))}.wof-fx-team{grid-template-columns:46px 1fr}.wof-team-monogram{width:43px;height:43px;font-size:10px}.wof-fx-cell{min-height:76px;padding:8px}.wof-fx-opponent>b{font-size:12px}}


/* v1.11.1 — center the fixture hero and gameweek range inside the workspace. */
.wof-tool-controls:has(.wof-fixture-hero){width:100%;display:flex;flex-direction:column;align-items:center}
.wof-fixture-hero{width:min(760px,100%);margin-inline:auto}
.wof-gw-range{width:min(760px,100%);margin-left:auto;margin-right:auto}
@media(max-width:680px){.wof-fixture-hero,.wof-gw-range{width:100%}}


/* v1.11.2 — richer FDR states + club-colored abbreviation badges (same visual language as Live Matches). */
.wof-club-badge{--club-a:#244352;--club-b:#102631;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,var(--club-a) 0 57%,var(--club-b) 57% 100%)!important;border:1px solid color-mix(in srgb,var(--club-a) 68%,white 32%)!important;color:#fff!important;text-shadow:0 1px 3px rgba(0,0,0,.7);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 6px 14px rgba(0,0,0,.22)}
.wof-club-badge:after{content:"";position:absolute;inset:5px;border:1px solid rgba(255,255,255,.18);border-radius:inherit;pointer-events:none}
.wof-club-badge-sm{display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:50%;font-size:8px;font-weight:950;letter-spacing:.03em}
.wof-fx-opponent{justify-content:flex-start}.wof-fx-opponent>b{margin-inline-end:auto}
.wof-fx-cell{position:relative;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.wof-fx-cell:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:11px 0 0 11px;background:var(--fdr-accent,#6ea8b8)}
.wof-fx-cell:after{content:"";position:absolute;right:-28px;top:-34px;width:84px;height:84px;border-radius:50%;background:radial-gradient(circle,var(--fdr-glow,rgba(112,214,246,.10)),transparent 68%);pointer-events:none}
.wof-fx-cell.fdr-1{--fdr-accent:#62d66f;--fdr-glow:rgba(98,214,111,.24);border-color:rgba(98,214,111,.34);background:linear-gradient(135deg,rgba(47,150,73,.24),#091c27 62%);box-shadow:inset 0 0 0 1px rgba(98,214,111,.035)}
.wof-fx-cell.fdr-2{--fdr-accent:#39c6da;--fdr-glow:rgba(57,198,218,.22);border-color:rgba(57,198,218,.31);background:linear-gradient(135deg,rgba(38,145,168,.22),#091c27 62%)}
.wof-fx-cell.fdr-3{--fdr-accent:#f4c548;--fdr-glow:rgba(244,197,72,.23);border-color:rgba(244,197,72,.32);background:linear-gradient(135deg,rgba(184,139,30,.22),#091c27 62%)}
.wof-fx-cell.fdr-4{--fdr-accent:#f08a38;--fdr-glow:rgba(240,138,56,.24);border-color:rgba(240,138,56,.34);background:linear-gradient(135deg,rgba(191,90,25,.24),#091c27 62%)}
.wof-fx-cell.fdr-5{--fdr-accent:#ef4657;--fdr-glow:rgba(239,70,87,.28);border-color:rgba(239,70,87,.40);background:linear-gradient(135deg,rgba(177,37,53,.28),#091c27 62%);box-shadow:inset 0 0 24px rgba(239,70,87,.045)}
.wof-fx-cell.fdr-1 .wof-fx-opponent>b,.wof-fx-cell.fdr-1>small{color:#95ed9e}.wof-fx-cell.fdr-2 .wof-fx-opponent>b,.wof-fx-cell.fdr-2>small{color:#83e5f1}.wof-fx-cell.fdr-3 .wof-fx-opponent>b,.wof-fx-cell.fdr-3>small{color:#ffe08b}.wof-fx-cell.fdr-4 .wof-fx-opponent>b,.wof-fx-cell.fdr-4>small{color:#ffc08c}.wof-fx-cell.fdr-5 .wof-fx-opponent>b,.wof-fx-cell.fdr-5>small{color:#ff9ba5}
@media(hover:hover) and (pointer:fine){.wof-fx-cell:hover{transform:translateY(-2px);border-color:var(--fdr-accent);box-shadow:0 8px 20px rgba(0,0,0,.22)}}
@media(max-width:760px){.wof-club-badge-sm{width:28px;height:28px;font-size:7px}.wof-fx-opponent{gap:6px}}


/* v1.11.3 — reliable club badge colors + copy cleanup. */
.wof-club-badge{background:linear-gradient(135deg,var(--club-a,#244352) 0 57%,var(--club-b,#102631) 57% 100%)!important;border-color:rgba(255,255,255,.24)!important}
.wof-team-monogram.wof-club-badge{background:linear-gradient(135deg,var(--club-a,#244352) 0 57%,var(--club-b,#102631) 57% 100%)!important}


/* v1.11.4 — fixed five-GW board: remove redundant range strip and soften club colors. */
.wof-club-badge{
  background:linear-gradient(135deg,
    color-mix(in srgb,var(--club-a,#244352) 50%,transparent) 0 57%,
    color-mix(in srgb,var(--club-b,#102631) 50%,transparent) 57% 100%)!important;
}
.wof-team-monogram.wof-club-badge{
  background:linear-gradient(135deg,
    color-mix(in srgb,var(--club-a,#244352) 50%,transparent) 0 57%,
    color-mix(in srgb,var(--club-b,#102631) 50%,transparent) 57% 100%)!important;
}
.wof-gw-range{display:none!important}


/* v1.11.5 — use the Live Matches shield mark instead of circular club badges. */
.wof-club-badge,
.wof-team-monogram.wof-club-badge{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  border-radius:14px 14px 17px 17px!important;
  clip-path:polygon(10% 0,90% 0,100% 18%,92% 78%,50% 100%,8% 78%,0 18%)!important;
  background:rgba(4,18,28,.92)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;
  text-shadow:0 1px 3px rgba(0,0,0,.8)!important;
  box-shadow:inset 0 -8px 15px rgba(0,0,0,.14),0 6px 16px rgba(0,0,0,.22)!important;
}
.wof-club-badge::before,
.wof-team-monogram.wof-club-badge::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  background:linear-gradient(90deg,var(--club-a,#244352) 0 50%,var(--club-b,#102631) 50% 100%)!important;
  opacity:1!important;
  pointer-events:none!important;
}
.wof-club-badge::after,
.wof-team-monogram.wof-club-badge::after{
  content:""!important;
  position:absolute!important;
  inset:2px!important;
  z-index:-1!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:inherit!important;
  clip-path:inherit!important;
  background:none!important;
  pointer-events:none!important;
}
.wof-club-badge-sm{
  width:34px!important;height:36px!important;
  border-radius:10px 10px 13px 13px!important;
  font-size:8px!important;
}
.wof-team-monogram.wof-club-badge{
  width:54px!important;height:58px!important;
  border-radius:15px 15px 19px 19px!important;
}
@media(max-width:760px){
  .wof-club-badge-sm{width:30px!important;height:32px!important;font-size:7px!important}
  .wof-team-monogram.wof-club-badge{width:43px!important;height:46px!important;font-size:10px!important}
}


/* v1.11.6 — remove duplicated Fixture Difficulty title/copy and enlarge the FDR legend. */
.wof-fixture-hero.wof-fixture-legend-only{
  display:block!important;
  width:min(620px,100%)!important;
  margin:0 auto 18px!important;
  padding:18px!important;
  background:linear-gradient(145deg,#071923,#06131d)!important;
}
.wof-fixture-legend-only .wof-fdr-legend{
  width:100%;
  padding:18px 20px;
  gap:10px;
  border-radius:16px;
}
.wof-fixture-legend-only .wof-fdr-legend>b{
  font-size:15px;
  margin-bottom:5px;
}
.wof-fixture-legend-only .wof-fdr-legend>span{
  grid-template-columns:92px 1fr 42px;
  gap:14px;
  min-height:30px;
  font-size:12px;
}
.wof-fixture-legend-only .wof-fdr-legend em{font-size:12px}
.wof-fixture-legend-only .wof-fdr-legend strong{font-size:11px}
.wof-fixture-legend-only .wof-fdr-dots{gap:4px}
.wof-fixture-legend-only .wof-fdr-dots i{width:14px;height:9px}
@media(max-width:760px){
  .wof-fixture-hero.wof-fixture-legend-only{padding:12px!important;margin-bottom:14px!important}
  .wof-fixture-legend-only .wof-fdr-legend{display:grid;grid-template-columns:1fr!important;padding:14px 15px;gap:7px}
  .wof-fixture-legend-only .wof-fdr-legend>b{grid-column:auto!important;font-size:13px}
  .wof-fixture-legend-only .wof-fdr-legend>span{display:grid!important;grid-template-columns:82px 1fr 36px!important;flex-direction:initial!important;gap:10px!important;text-align:right!important;min-height:26px}
  .wof-fixture-legend-only .wof-fdr-legend>span strong{display:block!important}
  .wof-fixture-legend-only .wof-fdr-dots i{width:11px;height:8px}
}


/* v1.11.7 — meaningful five-GW schedule bands + no-horizontal-scroll mobile board. */
@media(max-width:760px){
  .wof-fixture-board-wrap{overflow-x:visible!important;padding-bottom:0!important}
  .wof-fixture-board{min-width:0!important;width:100%!important;gap:5px!important}
  .wof-fixture-board-head,.wof-fixture-board-row{
    grid-template-columns:minmax(62px,76px) repeat(5,minmax(0,1fr))!important;
    gap:3px!important;
    width:100%!important;
  }
  .wof-fixture-board-head{padding:0 3px!important;font-size:8px!important}
  .wof-fixture-board-head span{font-size:8px!important}
  .wof-fixture-board-head b{font-size:8px!important}
  .wof-fixture-board-row{padding:4px!important;border-radius:11px!important}
  .wof-fx-team{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:3px!important;padding:2px!important;min-width:0!important;text-align:center!important}
  .wof-team-monogram.wof-club-badge{width:32px!important;height:34px!important;font-size:8px!important}
  .wof-fx-team>div{align-items:center!important;gap:1px!important;min-width:0!important}
  .wof-fx-team b{display:none!important}
  .wof-fx-team small:not(.wof-fx-flags){display:none!important}
  .wof-fx-team strong{font-size:8px!important;line-height:1.15!important;white-space:nowrap!important}
  .wof-fx-team strong em{display:block!important;margin:1px 0 0!important;font-size:7px!important}
  .wof-fx-flags{font-size:6px!important;line-height:1.1!important}
  .wof-fx-stack{gap:2px!important;min-width:0!important}
  .wof-fx-cell{min-height:58px!important;padding:4px 2px!important;gap:3px!important;border-radius:8px!important;min-width:0!important}
  .wof-fx-cell:before{width:2px!important}
  .wof-fx-cell:after{display:none!important}
  .wof-fx-opponent{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;min-width:0!important}
  .wof-club-badge-sm{width:22px!important;height:24px!important;font-size:6px!important}
  .wof-fx-opponent>b{margin:0!important;font-size:8px!important;line-height:1!important}
  .wof-fx-venue{font-size:7px!important;line-height:1!important}
  .wof-fx-cell .wof-fdr-dots{display:none!important}
  .wof-fx-cell>small{font-size:7px!important;line-height:1.1!important;white-space:nowrap!important}
  .wof-fx-cell.is-blank>span{font-size:7px!important}
  .wof-fx-cell.is-blank>small{display:none!important}
}
@media(max-width:390px){
  .wof-fixture-board-head,.wof-fixture-board-row{grid-template-columns:58px repeat(5,minmax(0,1fr))!important;gap:2px!important}
  .wof-fixture-board-row{padding:3px!important}
  .wof-team-monogram.wof-club-badge{width:29px!important;height:31px!important;font-size:7px!important}
  .wof-fx-cell{min-height:54px!important;padding:3px 1px!important}
  .wof-club-badge-sm{width:20px!important;height:22px!important}
  .wof-fx-opponent>b{font-size:7px!important}
  .wof-fx-cell>small{font-size:6px!important}
}


/* v1.11.8 — put the FDR legend beside the fixture description. */
.wof-tool-workspace:has(.wof-fixture-inline-meta) #wof-tool-description{display:none!important}
.wof-tool-controls:has(.wof-fixture-inline-meta){width:100%!important;display:block!important}
.wof-fixture-inline-meta{
  width:100%;display:grid;grid-template-columns:minmax(280px,1fr) minmax(430px,560px);gap:24px;align-items:center;
  padding:4px 0 18px;margin:0 0 8px;border-bottom:1px solid rgba(112,214,246,.10)
}
.wof-fixture-inline-meta>p{margin:0;color:#91a8b3;font-size:14px;line-height:1.9;text-align:right}
.wof-fixture-inline-meta .wof-fdr-legend{width:100%;padding:16px 18px;gap:8px;border-radius:16px}
.wof-fixture-inline-meta .wof-fdr-legend>b{font-size:14px;margin-bottom:4px}
.wof-fixture-inline-meta .wof-fdr-legend>span{grid-template-columns:88px 1fr 40px;gap:12px;min-height:27px;font-size:11px}
.wof-fixture-inline-meta .wof-fdr-legend em{font-size:11px}
.wof-fixture-inline-meta .wof-fdr-legend strong{font-size:10px}
@media(max-width:760px){
  .wof-fixture-inline-meta{grid-template-columns:1fr;gap:12px;padding-bottom:14px}
  .wof-fixture-inline-meta>p{text-align:center;font-size:12px;line-height:1.75}
  .wof-fixture-inline-meta .wof-fdr-legend{padding:13px 14px}
  .wof-fixture-inline-meta .wof-fdr-legend>span{grid-template-columns:78px 1fr 34px;gap:8px}
}


/* v1.11.9 — compact FDR legend beside the fixture title. */
.wof-tool-workspace.is-fixtures .wof-tool-workspace-head>div:first-child{
  flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"kicker kicker" "title legend" "desc desc";column-gap:18px;row-gap:4px;align-items:center
}
.wof-tool-workspace.is-fixtures #wof-tool-kicker{grid-area:kicker}
.wof-tool-workspace.is-fixtures #wof-tool-title{grid-area:title;margin:2px 0 0}
.wof-tool-workspace.is-fixtures #wof-tool-description{grid-area:desc;display:block!important;margin-top:3px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend{
  grid-area:legend;width:auto;min-width:285px;max-width:340px;padding:9px 11px;border-radius:12px;gap:3px;align-self:center
}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend>b{font-size:10px;margin:0 0 2px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span{grid-template-columns:60px 1fr 28px;gap:6px;min-height:18px;font-size:8px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend em{font-size:8px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend strong{font-size:8px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend .wof-fdr-dots{gap:2px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend .wof-fdr-dots i{width:8px;height:5px}
.wof-tool-workspace.is-fixtures #wof-tool-controls{display:none!important}
@media(max-width:760px){
  .wof-tool-workspace.is-fixtures .wof-tool-workspace-head>div:first-child{grid-template-columns:1fr;grid-template-areas:"kicker" "title" "legend" "desc";row-gap:7px}
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend{width:100%;min-width:0;max-width:none;padding:8px 9px;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>b{grid-column:1/-1;text-align:right}
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span{display:flex;flex-direction:column;gap:2px;min-height:0;text-align:center}
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span strong{display:none}
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend em{font-size:7px}
}

/* v1.12.0 — remove fixture description and slightly enlarge compact legend beside title */
.wof-tool-workspace.is-fixtures #wof-tool-description{display:none!important}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend{min-width:300px;max-width:340px;padding:10px 12px;gap:5px;border-radius:13px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend>b{font-size:11px;margin-bottom:3px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span{grid-template-columns:66px 1fr 30px;gap:7px;min-height:20px;font-size:9px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend em{font-size:9px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend strong{font-size:9px}
.wof-tool-workspace.is-fixtures .wof-fixture-head-legend .wof-fdr-dots i{width:9px;height:6px}
@media(max-width:760px){.wof-tool-workspace.is-fixtures .wof-fixture-head-legend{min-width:0;max-width:none;width:100%;padding:9px 10px}.wof-tool-workspace.is-fixtures .wof-fixture-head-legend>b{font-size:10px}.wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span{font-size:8px}.wof-tool-workspace.is-fixtures .wof-fixture-head-legend em{font-size:8px}}

/* v1.12.1 — mobile FDR legend fills the available width and breathes properly. */
@media(max-width:760px){
  .wof-tool-workspace.is-fixtures .wof-tool-workspace-head>div:first-child{
    grid-template-columns:1fr!important;
    grid-template-areas:"kicker" "title" "legend"!important;
    row-gap:10px!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend{
    grid-area:legend!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin-top:4px!important;
    padding:16px 16px!important;
    border-radius:14px!important;
    gap:9px!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>b{
    font-size:13px!important;
    margin-bottom:5px!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span{
    display:grid!important;
    grid-template-columns:minmax(72px,1fr) minmax(58px,.8fr) 38px!important;
    gap:14px!important;
    min-height:30px!important;
    align-items:center!important;
    font-size:10px!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend em{
    font-size:10px!important;
    line-height:1.4!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend strong{
    font-size:9px!important;
    text-align:left!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend .wof-fdr-dots{
    gap:4px!important;
    justify-content:flex-start!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend .wof-fdr-dots i{
    width:12px!important;
    height:8px!important;
  }
}

/* v1.12.3 — rebuild mobile FDR legend: full width, one clean row per level. */
@media(max-width:760px){
  .wof-tool-workspace.is-fixtures .wof-tool-workspace-head{
    align-items:stretch!important;
  }
  .wof-tool-workspace.is-fixtures .wof-tool-workspace-head>div:first-child{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:"kicker" "title" "legend"!important;
    row-gap:12px!important;
    min-width:0!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend{
    grid-area:legend!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:2px 0 0!important;
    padding:14px 14px 16px!important;
    gap:0!important;
    border-radius:14px!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>b{
    grid-column:1!important;
    width:100%!important;
    margin:0 0 8px!important;
    padding:0 2px 8px!important;
    font-size:13px!important;
    line-height:1.4!important;
    text-align:right!important;
    border-bottom:1px solid rgba(112,214,246,.10)!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) auto!important;
    grid-template-areas:"score label dots"!important;
    align-items:center!important;
    width:100%!important;
    min-height:42px!important;
    padding:7px 2px!important;
    gap:12px!important;
    text-align:right!important;
    border-bottom:1px solid rgba(112,214,246,.07)!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span:last-child{
    border-bottom:0!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span strong{
    display:block!important;
    grid-area:score!important;
    font-size:10px!important;
    line-height:1!important;
    text-align:right!important;
    color:#d9e7ed!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>span em{
    grid-area:label!important;
    min-width:0!important;
    font-size:11px!important;
    line-height:1.35!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend .wof-fdr-dots{
    grid-area:dots!important;
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:5px!important;
    min-width:80px!important;
  }
  .wof-tool-workspace.is-fixtures .wof-fixture-head-legend .wof-fdr-dots i{
    flex:0 0 auto!important;
    width:11px!important;
    height:8px!important;
  }
}


/* v1.13.0 — WOF price-change pressure tool */
.wof-price-filters{display:grid;grid-template-columns:1.35fr repeat(3,minmax(130px,.8fr));gap:10px;width:100%}.wof-price-filters label{display:grid;gap:6px;min-width:0}.wof-price-filters label>span{font-size:9px;color:#819ba8;font-weight:800}.wof-price-filters input,.wof-price-filters select{width:100%;min-width:0;height:42px;border:1px solid rgba(112,214,246,.16);border-radius:10px;background:#061923;color:#eefaff;padding:0 11px;font:inherit;outline:0}.wof-price-filters input:focus,.wof-price-filters select:focus{border-color:#68dff5}.wof-price-table{border:1px solid rgba(112,214,246,.12);border-radius:16px;overflow:hidden;background:#071923}.wof-price-head,.wof-price-row{display:grid;grid-template-columns:minmax(180px,1.45fr) 145px 75px 120px 90px minmax(135px,1fr) 88px;gap:10px;align-items:center}.wof-price-head{padding:11px 14px;background:#0a202c;color:#7997a5;font-size:9px;font-weight:900}.wof-price-row{min-height:62px;padding:9px 14px;border-top:1px solid rgba(255,255,255,.055)}.wof-price-row:hover{background:rgba(112,214,246,.035)}.wof-price-player{display:flex;flex-direction:column;gap:3px;min-width:0}.wof-price-player button{border:0;background:transparent;color:#f5fcff;text-align:right;padding:0;font:900 12px inherit;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wof-price-player small{color:#718d9b;font-size:8px}.wof-price-status{display:inline-flex;justify-content:center;padding:7px 8px;border-radius:8px;font-size:9px;font-weight:900;white-space:nowrap}.status-predicted-rise{background:rgba(55,205,124,.19);color:#8ef0b1}.status-close-rise{background:rgba(73,235,141,.11);color:#79e8a3}.status-predicted-fall{background:rgba(255,90,107,.18);color:#ff9ba8}.status-close-fall{background:rgba(255,129,92,.12);color:#ffb08d}.status-unlikely{background:rgba(255,255,255,.055);color:#9bacb4}.wof-price-money{font-size:11px}.wof-price-net,.wof-price-trend{font-size:10px;font-weight:900}.wof-price-net.up,.wof-price-trend.up{color:#65dfa0}.wof-price-net.down,.wof-price-trend.down{color:#ff8c99}.wof-price-net.flat,.wof-price-trend.flat{color:#869ca6}.wof-price-progress{display:grid;gap:5px}.wof-price-progress>b{font-size:10px;color:#e9f7fb}.wof-price-progress>i{display:block;height:6px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.wof-price-progress>i>em{display:block;height:100%;border-radius:inherit;background:#62d9f1}.wof-price-row.is-up .wof-price-progress>i>em{background:#4bd28b}.wof-price-row.is-down .wof-price-progress>i>em{background:#ff7182}.wof-price-confidence{display:grid;place-items:center;min-height:38px;border-radius:8px;background:rgba(98,217,241,.08);color:#9cecf8;font-size:11px}.wof-price-row.is-up .wof-price-confidence{background:rgba(75,210,139,.1);color:#80e7aa}.wof-price-row.is-down .wof-price-confidence{background:rgba(255,113,130,.1);color:#ff9aa6}
@media(max-width:900px){.wof-price-filters{grid-template-columns:1fr 1fr}.wof-price-table{border:0;background:transparent;display:grid;gap:9px;overflow:visible}.wof-price-head{display:none}.wof-price-row{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:'player status money' 'net trend confidence' 'progress progress progress';gap:8px 10px;min-height:0;padding:12px;border:1px solid rgba(112,214,246,.12);border-radius:13px;background:#071923}.wof-price-player{grid-area:player}.wof-price-status{grid-area:status}.wof-price-money{grid-area:money}.wof-price-net{grid-area:net}.wof-price-trend{grid-area:trend}.wof-price-progress{grid-area:progress}.wof-price-confidence{grid-area:confidence;min-height:32px;padding:0 8px}}
@media(max-width:520px){.wof-price-filters{grid-template-columns:1fr}.wof-price-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'player money' 'status status' 'net trend' 'progress confidence';padding:11px}.wof-price-status{justify-self:start}.wof-price-confidence{min-width:72px}.wof-price-player button{font-size:11px}}


/* v1.13.1 — fixture difficulty palette inspired by the provided reference.
   Neutral fixtures are gray; easy fixtures are green; difficult fixtures are red. */
.wof-fdr-dots.fdr-1 i.on{background:#34e985!important}
.wof-fdr-dots.fdr-2 i.on{background:#34e985!important}
.wof-fdr-dots.fdr-3 i.on{background:#a7adb5!important}
.wof-fdr-dots.fdr-4 i.on{background:#ff285f!important}
.wof-fdr-dots.fdr-5 i.on{background:#9d0038!important}

.wof-fx-team strong.fdr-1,.wof-fx-team strong.fdr-2{color:#60f29a!important}
.wof-fx-team strong.fdr-3{color:#c8cdd3!important}
.wof-fx-team strong.fdr-4{color:#ff6a8e!important}
.wof-fx-team strong.fdr-5{color:#ff4775!important}

.wof-fx-cell.fdr-1,
.wof-fx-cell.fdr-2{
  --fdr-accent:#3aed83!important;
  border-color:rgba(58,237,131,.58)!important;
  background:linear-gradient(145deg,rgba(58,237,131,.88),rgba(44,215,116,.78))!important;
  box-shadow:none!important;
}
.wof-fx-cell.fdr-3{
  --fdr-accent:#b8bdc4!important;
  border-color:rgba(184,189,196,.38)!important;
  background:linear-gradient(145deg,rgba(202,205,210,.28),rgba(137,144,153,.22))!important;
  box-shadow:none!important;
}
.wof-fx-cell.fdr-4{
  --fdr-accent:#ff0f57!important;
  border-color:rgba(255,15,87,.62)!important;
  background:linear-gradient(145deg,rgba(255,15,87,.94),rgba(219,0,65,.84))!important;
  box-shadow:none!important;
}
.wof-fx-cell.fdr-5{
  --fdr-accent:#9c0038!important;
  border-color:rgba(156,0,56,.82)!important;
  background:linear-gradient(145deg,rgba(156,0,56,.98),rgba(94,0,35,.94))!important;
  box-shadow:none!important;
}
.wof-fx-cell.fdr-1 .wof-fx-opponent>b,
.wof-fx-cell.fdr-1>small,
.wof-fx-cell.fdr-2 .wof-fx-opponent>b,
.wof-fx-cell.fdr-2>small,
.wof-fx-cell.fdr-3 .wof-fx-opponent>b,
.wof-fx-cell.fdr-3>small,
.wof-fx-cell.fdr-4 .wof-fx-opponent>b,
.wof-fx-cell.fdr-4>small,
.wof-fx-cell.fdr-5 .wof-fx-opponent>b,
.wof-fx-cell.fdr-5>small{color:#fff!important}
.wof-fx-cell .wof-fx-venue{color:rgba(255,255,255,.8)!important}

/* Legend chips follow the same green / gray / red language. */
.wof-fdr-guide .fdr-1,.wof-fdr-guide .fdr-2{color:#6bf2a0!important;background:rgba(58,237,131,.14)!important}
.wof-fdr-guide .fdr-3{color:#c7ccd2!important;background:rgba(184,189,196,.12)!important}
.wof-fdr-guide .fdr-4{color:#ff7c9a!important;background:rgba(255,15,87,.12)!important}
.wof-fdr-guide .fdr-5{color:#ff5f87!important;background:rgba(156,0,56,.16)!important}

/* v1.13.3 — show real current-GW buy/sell counts instead of a fake confidence score. */
.wof-price-confidence{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 7px}
.wof-price-confidence span{color:#80e7aa;font-size:9px;white-space:nowrap}
.wof-price-confidence small{color:#ff9aa6;font-size:8px;white-space:nowrap}
.wof-price-progress>small{color:#75909c;font-size:7px;white-space:nowrap}
.wof-price-section-label{grid-column:1/-1;padding:10px 14px;border-top:1px solid rgba(112,214,246,.12);background:rgba(112,214,246,.055);color:#9cecf8;font-size:10px;font-weight:900}
.status-gw-limit{background:rgba(245,215,126,.12);color:#f5d77e}

/* v1.14.0 — official FPL Price Change Predictor */
.wof-price-deadline{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:14px 16px;border:1px solid rgba(112,214,246,.14);border-radius:13px;background:#081c27}
.wof-price-deadline>div{display:flex;align-items:center;gap:10px}.wof-price-deadline small,.wof-price-deadline>span{color:#8aa3af;font-size:10px}.wof-price-deadline b{direction:ltr;color:#fff;font-size:21px;letter-spacing:1px}.wof-price-deadline strong{color:#dff8ff}
.wof-price-head,.wof-price-row{grid-template-columns:minmax(180px,1.5fr) 150px minmax(110px,1fr) 105px minmax(125px,1fr) 85px}
.wof-price-projected{font-size:10px;color:#dff8ff;text-align:center}.wof-price-trend{display:flex;flex-direction:column;gap:3px}.wof-price-trend small{color:#718d9b;font-size:7px;font-weight:700;white-space:nowrap}
.status-very-likely-rise{background:rgba(36,196,105,.23);color:#91f3b5}.status-likely-rise{background:rgba(67,225,130,.12);color:#7ee9a7}.status-very-likely-fall{background:rgba(225,31,82,.24);color:#ff9aae}.status-likely-fall{background:rgba(255,72,113,.15);color:#ff9db0}.status-locked,.status-calibrating{background:rgba(255,255,255,.07);color:#aebdc4}
.wof-price-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px}.wof-price-pagination button{min-width:78px;height:36px;border:1px solid rgba(112,214,246,.18);border-radius:9px;background:#081c27;color:#dff8ff;font:800 10px inherit;cursor:pointer}.wof-price-pagination button:disabled{opacity:.35;cursor:default}.wof-price-pagination span{color:#839ca8;font-size:10px}
@media(max-width:900px){.wof-price-row{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:'player status money' 'progress projected trend';}.wof-price-progress{grid-area:progress}.wof-price-projected{grid-area:projected}.wof-price-trend{grid-area:trend}.wof-price-money{grid-area:money}}
@media(max-width:520px){.wof-price-deadline{align-items:flex-start;flex-direction:column}.wof-price-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'player money' 'status status' 'progress projected' 'trend trend';}.wof-price-trend{align-items:flex-start}.wof-price-pagination{gap:7px}.wof-price-pagination button{min-width:65px}}


/* ==========================================================================
   V1.16.3 — COMPLETE LIGHT MODE PASS FOR ALL 8 FPL TOOLS
   Captain / Live / Transfers / Compare / Fixtures / Differentials /
   Price Changes / Set Pieces.
   Scope is intentionally limited to the opened FPL workspace and its dialogs.
   Dark mode remains untouched.
   ========================================================================== */

/* ---------- Workspace shell ---------- */
body.wof-light-mode .wof-tool-workspace{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.16)!important;
  box-shadow:0 22px 60px rgba(55,0,60,.08)!important;
  color:#17131A!important;
}
body.wof-light-mode .wof-tool-workspace-head{
  border-bottom-color:rgba(55,0,60,.10)!important;
}
body.wof-light-mode .wof-tool-workspace-head h3,
body.wof-light-mode .wof-tool-output h4,
body.wof-light-mode .wof-tool-output h5{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-tool-workspace-head p,
body.wof-light-mode .wof-tool-note{
  color:#615866!important;
  -webkit-text-fill-color:#615866!important;
}
body.wof-light-mode .wof-tool-close{
  background:#F6EFF8!important;
  border-color:rgba(55,0,60,.15)!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-tool-close:hover{
  background:#37003C!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}

/* ---------- Controls shared by tools ---------- */
body.wof-light-mode .wof-tool-controls label,
body.wof-light-mode .wof-price-filters label>span{
  color:#4D4451!important;
  -webkit-text-fill-color:#4D4451!important;
}
body.wof-light-mode .wof-tool-controls select,
body.wof-light-mode .wof-tool-controls input,
body.wof-light-mode .wof-price-filters select,
body.wof-light-mode .wof-price-filters input{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.18)!important;
  color:#17131A!important;
  -webkit-text-fill-color:#17131A!important;
  box-shadow:0 1px 0 rgba(55,0,60,.03)!important;
}
body.wof-light-mode .wof-tool-controls select:focus,
body.wof-light-mode .wof-tool-controls input:focus,
body.wof-light-mode .wof-price-filters select:focus,
body.wof-light-mode .wof-price-filters input:focus{
  border-color:#37003C!important;
  box-shadow:0 0 0 3px rgba(55,0,60,.08)!important;
  outline:0!important;
}
body.wof-light-mode .wof-tool-action{
  background:#00A85A!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
  box-shadow:0 8px 20px rgba(0,168,90,.12)!important;
}
body.wof-light-mode .wof-tool-action:hover{
  background:#006B46!important;
}

/* ---------- Loading / empty / warning states ---------- */
body.wof-light-mode .wof-tool-loading,
body.wof-light-mode .wof-tool-placeholder,
body.wof-light-mode .wof-empty{
  background:#FBF8FC!important;
  border-color:rgba(55,0,60,.16)!important;
  color:#645A68!important;
  -webkit-text-fill-color:#645A68!important;
}
body.wof-light-mode .wof-tool-warning{
  background:#FFF8E8!important;
  border-color:#E5C878!important;
  color:#72560E!important;
  -webkit-text-fill-color:#72560E!important;
}

/* ---------- Captain + Differentials + Transfer result rows ---------- */
body.wof-light-mode .wof-rank-row{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.11)!important;
  box-shadow:0 6px 18px rgba(55,0,60,.035)!important;
}
body.wof-light-mode .wof-rank-row:hover{
  background:#FBF7FC!important;
  border-color:rgba(55,0,60,.22)!important;
}
body.wof-light-mode .wof-rank-row>i{
  background:#F3EAF5!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-rank-row>em{
  color:#635A67!important;
  -webkit-text-fill-color:#635A67!important;
}
body.wof-light-mode .wof-tool-player{
  color:#17131A!important;
  -webkit-text-fill-color:#17131A!important;
}
body.wof-light-mode .wof-tool-player b{
  color:#231C25!important;
  -webkit-text-fill-color:#231C25!important;
}
body.wof-light-mode .wof-tool-player small,
body.wof-light-mode .wof-tool-player-name small{
  color:#6E6572!important;
  -webkit-text-fill-color:#6E6572!important;
}
body.wof-light-mode .wof-tool-player-name small i{
  color:#8A7F8D!important;
  -webkit-text-fill-color:#8A7F8D!important;
}
body.wof-light-mode .wof-tool-player-stats b{
  background:#F3EAF5!important;
  border-color:rgba(55,0,60,.12)!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-tool-player-stats small{
  color:#006B46!important;
  -webkit-text-fill-color:#006B46!important;
}

/* ---------- Compare Players ---------- */
body.wof-light-mode .wof-compare-head>div{
  background:#F8F2F9!important;
  border-color:rgba(55,0,60,.13)!important;
}
body.wof-light-mode .wof-compare-head b{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-compare-head small{
  color:#665C69!important;
  -webkit-text-fill-color:#665C69!important;
}
body.wof-light-mode .wof-compare-head>span{
  color:#00A85A!important;
  -webkit-text-fill-color:#00A85A!important;
}
body.wof-light-mode .wof-compare-grid>div{
  border-bottom-color:rgba(55,0,60,.09)!important;
}
body.wof-light-mode .wof-compare-grid strong{
  color:#201821!important;
  -webkit-text-fill-color:#201821!important;
}
body.wof-light-mode .wof-compare-grid small{
  color:#756A78!important;
  -webkit-text-fill-color:#756A78!important;
}

/* ---------- Transfers summary ---------- */
body.wof-light-mode .wof-tool-summary>div{
  background:#F8F2F9!important;
  border-color:rgba(55,0,60,.12)!important;
}
body.wof-light-mode .wof-tool-summary small{
  color:#716575!important;
  -webkit-text-fill-color:#716575!important;
}
body.wof-light-mode .wof-tool-summary b{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}

/* ---------- Live Center ---------- */
body.wof-light-mode .wof-live-center-grid>div{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.12)!important;
}
body.wof-light-mode .wof-live-game{
  border-bottom-color:rgba(55,0,60,.08)!important;
  color:#241D26!important;
}
body.wof-light-mode .wof-live-game b{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-live-game small{
  color:#716675!important;
  -webkit-text-fill-color:#716675!important;
}
body.wof-light-mode .wof-live-top-player{
  color:#231B25!important;
  -webkit-text-fill-color:#231B25!important;
  border-bottom-color:rgba(55,0,60,.08)!important;
}
body.wof-light-mode .wof-live-top-player:hover{
  background:#FBF7FC!important;
}
body.wof-light-mode .wof-live-top-player i{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-live-top-player small,
body.wof-light-mode .wof-live-top-player em{
  color:#746A77!important;
  -webkit-text-fill-color:#746A77!important;
}

/* ---------- Set Pieces ---------- */
body.wof-light-mode .wof-setpiece-card{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.12)!important;
  box-shadow:0 6px 18px rgba(55,0,60,.035)!important;
}
body.wof-light-mode .wof-setpiece-card h4{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-setpiece-card button{
  color:#231D25!important;
  -webkit-text-fill-color:#231D25!important;
  border-top-color:rgba(55,0,60,.08)!important;
}
body.wof-light-mode .wof-setpiece-card button:hover{
  background:#F8F2F9!important;
}
body.wof-light-mode .wof-setpiece-card small{
  color:#716575!important;
  -webkit-text-fill-color:#716575!important;
}
body.wof-light-mode .wof-setpiece-card b{
  color:#201821!important;
  -webkit-text-fill-color:#201821!important;
}

/* ---------- Fixtures / FDR ---------- */
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-head-legend,
body.wof-light-mode .wof-fdr-legend,
body.wof-light-mode .wof-fdr-guide{
  background:#F8F2F9!important;
  border-color:rgba(55,0,60,.12)!important;
}
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-head-legend>b,
body.wof-light-mode .wof-fdr-legend>b{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
  border-bottom-color:rgba(55,0,60,.08)!important;
}
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-head-legend strong,
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-head-legend em{
  color:#554B59!important;
  -webkit-text-fill-color:#554B59!important;
}
body.wof-light-mode .wof-fixture-board-wrap,
body.wof-light-mode .wof-fixture-board{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.12)!important;
}
body.wof-light-mode .wof-fixture-board-head{
  background:#F5EEF7!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
  border-color:rgba(55,0,60,.10)!important;
}
body.wof-light-mode .wof-fixture-board-row{
  border-color:rgba(55,0,60,.08)!important;
}
body.wof-light-mode .wof-fx-team b{
  color:#201821!important;
  -webkit-text-fill-color:#201821!important;
}
body.wof-light-mode .wof-fx-team small{
  color:#756A78!important;
  -webkit-text-fill-color:#756A78!important;
}
/* Difficulty cells intentionally keep green / gray / red fills and white text. */
body.wof-light-mode .wof-fixture-tip{
  background:#F1FFF8!important;
  border-color:rgba(0,168,90,.16)!important;
  color:#006B46!important;
  -webkit-text-fill-color:#006B46!important;
}

/* ---------- Price Changes ---------- */
body.wof-light-mode .wof-price-deadline{
  background:#F8F2F9!important;
  border-color:rgba(55,0,60,.13)!important;
}
body.wof-light-mode .wof-price-deadline small,
body.wof-light-mode .wof-price-deadline>span{
  color:#6F6473!important;
  -webkit-text-fill-color:#6F6473!important;
}
body.wof-light-mode .wof-price-deadline b,
body.wof-light-mode .wof-price-deadline strong{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-price-table{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.12)!important;
}
body.wof-light-mode .wof-price-head{
  background:#F5EEF7!important;
  color:#6C6070!important;
  -webkit-text-fill-color:#6C6070!important;
}
body.wof-light-mode .wof-price-row{
  background:#FFFFFF!important;
  border-top-color:rgba(55,0,60,.075)!important;
}
body.wof-light-mode .wof-price-row:hover{
  background:#FBF7FC!important;
}
body.wof-light-mode .wof-price-player button{
  color:#231C25!important;
  -webkit-text-fill-color:#231C25!important;
}
body.wof-light-mode .wof-price-player small,
body.wof-light-mode .wof-price-trend small,
body.wof-light-mode .wof-price-progress>small{
  color:#756A78!important;
  -webkit-text-fill-color:#756A78!important;
}
body.wof-light-mode .wof-price-money,
body.wof-light-mode .wof-price-projected,
body.wof-light-mode .wof-price-progress>b{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-price-progress>i{
  background:#EDE6EF!important;
}
body.wof-light-mode .wof-price-confidence{
  background:#F3EAF5!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-price-section-label{
  background:#F3EAF5!important;
  border-top-color:rgba(55,0,60,.10)!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-price-pagination button{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.16)!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-price-pagination button:not(:disabled):hover{
  background:#37003C!important;
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}
body.wof-light-mode .wof-price-pagination span{
  color:#6D6271!important;
  -webkit-text-fill-color:#6D6271!important;
}

/* ---------- Searchable player selectors used by Compare / Transfers ---------- */
body.wof-light-mode .wof-player-search,
body.wof-light-mode .wof-player-search-results,
body.wof-light-mode .wof-searchable-select,
body.wof-light-mode .wof-searchable-select-menu{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.16)!important;
  color:#201821!important;
  -webkit-text-fill-color:#201821!important;
}
body.wof-light-mode .wof-player-search-results button,
body.wof-light-mode .wof-searchable-select-menu button{
  background:#FFFFFF!important;
  color:#201821!important;
  -webkit-text-fill-color:#201821!important;
  border-color:rgba(55,0,60,.07)!important;
}
body.wof-light-mode .wof-player-search-results button:hover,
body.wof-light-mode .wof-searchable-select-menu button:hover{
  background:#F3EAF5!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}

/* ---------- Player details dialog opened from tool results ---------- */
body.wof-light-mode .wof-player-dialog{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.16)!important;
  color:#201821!important;
  -webkit-text-fill-color:#201821!important;
  box-shadow:0 35px 90px rgba(55,0,60,.18)!important;
}
body.wof-light-mode .wof-player-dialog::backdrop{
  background:rgba(55,0,60,.22)!important;
  backdrop-filter:blur(6px)!important;
}
body.wof-light-mode .wof-dialog-close{
  background:#F3EAF5!important;
  border-color:rgba(55,0,60,.14)!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-player-profile h3{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}
body.wof-light-mode .wof-player-profile-grid>div{
  background:#F8F2F9!important;
  border-color:rgba(55,0,60,.10)!important;
}
body.wof-light-mode .wof-player-profile-grid small{
  color:#736777!important;
  -webkit-text-fill-color:#736777!important;
}
body.wof-light-mode .wof-player-profile-grid b{
  color:#211922!important;
  -webkit-text-fill-color:#211922!important;
}
body.wof-light-mode .wof-player-news{
  background:#FFF4E8!important;
  color:#684516!important;
  -webkit-text-fill-color:#684516!important;
}
body.wof-light-mode .wof-mini-history span{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.10)!important;
  color:#4E4552!important;
  -webkit-text-fill-color:#4E4552!important;
}

/* ---------- Mobile: remove old navy cards after a tool is opened ---------- */
@media(max-width:900px){
  body.wof-light-mode .wof-tool-workspace,
  body.wof-light-mode .wof-live-center-grid>div,
  body.wof-light-mode .wof-setpiece-card,
  body.wof-light-mode .wof-price-row,
  body.wof-light-mode .wof-rank-row,
  body.wof-light-mode .wof-compare-head>div,
  body.wof-light-mode .wof-tool-summary>div{
    background:#FFFFFF!important;
  }
}

/* English layout remains LTR while keeping the same light palette. */
html[lang^="en"] body.wof-light-mode .wof-tool-output,
html[lang^="en"] body.wof-light-mode .wof-tool-controls,
body.wof-lang-en.wof-light-mode .wof-tool-output,
body.wof-lang-en.wof-light-mode .wof-tool-controls{
  direction:ltr!important;
  text-align:left!important;
}


/* ==========================================================================
   V1.16.4 — FIXTURE DIFFICULTY: TRUE LIGHT-MODE BOARD
   The previous pass changed text/borders but left the large fixture rows on
   the old navy background. In light mode the board shell and every team row
   are now genuinely light; only FDR cells keep their green/gray/red coding.
   ========================================================================== */

body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-board-wrap{
  background:#FFFFFF!important;
  border-color:rgba(55,0,60,.10)!important;
}

body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-board{
  background:#FFFFFF!important;
}

/* Main row was the dark #071923 block visible in the screenshot. */
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-board-row{
  background:#FFFFFF!important;
  border:1px solid rgba(55,0,60,.12)!important;
  box-shadow:0 8px 24px rgba(55,0,60,.055)!important;
}

/* Team identity column */
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-team{
  background:#FBF8FC!important;
  border-radius:11px!important;
}

body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-team-monogram{
  background:radial-gradient(circle at 35% 30%,#FFFFFF,#F0E5F3)!important;
  border-color:rgba(55,0,60,.18)!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
  box-shadow:0 3px 10px rgba(55,0,60,.06)!important;
}

body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-team b{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}

body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-team small{
  color:#756A78!important;
  -webkit-text-fill-color:#756A78!important;
}

/* Difficulty summary beside the team name stays readable on white. */
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-team strong.fdr-1,
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-team strong.fdr-2{
  color:#008A4A!important;
  -webkit-text-fill-color:#008A4A!important;
}
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-team strong.fdr-3{
  color:#59636B!important;
  -webkit-text-fill-color:#59636B!important;
}
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-team strong.fdr-4{
  color:#D90B4B!important;
  -webkit-text-fill-color:#D90B4B!important;
}
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-team strong.fdr-5{
  color:#8E0034!important;
  -webkit-text-fill-color:#8E0034!important;
}

/* FDR cells intentionally remain colour-coded, but neutral cells must not
   inherit the old navy board underneath. */
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell.fdr-1,
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell.fdr-2{
  background:linear-gradient(145deg,#35D17F,#20BA6C)!important;
  border-color:#16A95F!important;
}

body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell.fdr-3{
  background:linear-gradient(145deg,#67727B,#515D66)!important;
  border-color:#89929A!important;
}

body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell.fdr-4{
  background:linear-gradient(145deg,#F20C55,#CF0042)!important;
  border-color:#C7003E!important;
}

body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell.fdr-5{
  background:linear-gradient(145deg,#A5003C,#75002B)!important;
  border-color:#6B0028!important;
}

body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell{
  box-shadow:0 3px 9px rgba(25,18,28,.08)!important;
}

/* All text inside coloured fixture cells remains white. */
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell .wof-fx-opponent>b,
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell>small,
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell .wof-fx-venue{
  color:#FFFFFF!important;
  -webkit-text-fill-color:#FFFFFF!important;
}

/* Blank cells are light rather than striped navy. */
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell.is-blank{
  background:#F4EEF6!important;
  border-color:rgba(55,0,60,.12)!important;
}
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-cell.is-blank>span{
  color:#756A78!important;
  -webkit-text-fill-color:#756A78!important;
}

/* GW header strip */
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-board-head{
  background:#F4EDF6!important;
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
  border:1px solid rgba(55,0,60,.09)!important;
  border-radius:8px!important;
}
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-board-head span,
body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-board-head b{
  color:#37003C!important;
  -webkit-text-fill-color:#37003C!important;
}

/* Mobile keeps the same light shell with compact rows. */
@media(max-width:760px){
  body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fixture-board-row{
    background:#FFFFFF!important;
    box-shadow:0 4px 14px rgba(55,0,60,.045)!important;
  }
  body.wof-light-mode .wof-tool-workspace.is-fixtures .wof-fx-team{
    background:#F8F2F9!important;
  }
}
