
/* Desktop typography: Inter is a close visual alternative to Apple's San Francisco.
   Use the platform's SF font when available, then Inter on Windows/Linux. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  html, body, button, input, select, textarea,
  h1, h2, h3, h4, h5, h6,
  .metric, .ownership-player, .price-watch-row, .league-table,
  body.fpl-theme .content, body.fpl-theme .simple-table,
  body.fpl-theme .table-team-row, body.fpl-theme .horizontal-tabs .nav-item {
    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Segoe UI",Arial,sans-serif!important;
    font-synthesis:none;
  }
  /* A four-across summary was cramming two finances into <100px each.
     Two summary cards per row and a full-width finance tile restore readability. */
  body:not(.fpl-theme) .price-watch-squad-column .classic-squad-metrics {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;margin:9px 0 12px!important;
  }
  body:not(.fpl-theme) .price-watch-squad-column .classic-squad-metrics>.metric {
    padding:11px!important;min-width:0;min-height:84px;
  }
  body:not(.fpl-theme) .price-watch-squad-column .classic-squad-metrics>.metric>small {
    font-size:9px;white-space:normal;line-height:1.3;min-height:22px;
  }
  body:not(.fpl-theme) .price-watch-squad-column .classic-squad-metrics>.metric>strong {
    font-size:clamp(15px,1.25vw,20px)!important;
    line-height:1.2;overflow-wrap:anywhere;
  }
  body:not(.fpl-theme) .price-watch-squad-column .classic-squad-metrics>.classic-squad-finances {
    grid-column:1/-1!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;min-height:76px;
    align-items:center;
  }
  body:not(.fpl-theme) .price-watch-squad-column .classic-finance-side {
    min-width:0;max-width:100%;
  }
  body:not(.fpl-theme) .price-watch-squad-column .classic-finance-side:last-child {
    padding-left:10px;text-align:right;
  }
  body:not(.fpl-theme) .price-watch-squad-column .classic-finance-side>small {
    font-size:9px!important;line-height:1.25;white-space:normal;
  }
  body:not(.fpl-theme) .price-watch-squad-column .classic-finance-side>strong {
    display:block;font-size:clamp(15px,1.35vw,19px)!important;
    line-height:1.25;white-space:nowrap;
    font-variant-numeric:tabular-nums;
  }
}

/* FPL-HQ desktop workspace enhancement, v0.98.66.
   Fine-pointer widescreen only: phone and touch-first Android layouts retain existing rules. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .header-bar,
  body:not(.fpl-theme) .tabs { max-width:1600px; }
  body:not(.fpl-theme) > main { max-width:1560px; width:100%; padding:18px 28px 80px; }
  body:not(.fpl-theme) .tabs .tab { flex:1; min-width:0; }
  body:not(.fpl-theme) .table-shell { overflow-x:auto; }
  body:not(.fpl-theme) .card { min-width:0; }
  body:not(.fpl-theme) .pitch-panel { max-width:900px; margin-left:auto; margin-right:auto; }
  body:not(.fpl-theme) .fixture-details { grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
  body:not(.fpl-theme) .awards-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:20px; }
  body:not(.fpl-theme) .metrics { gap:16px; }
  body:not(.fpl-theme) .league-table th,
  body:not(.fpl-theme) .league-table td { padding-top:13px;padding-bottom:13px; }
  /* The Classic PL match centre is inside a separate same-origin frame. */
  body:not(.fpl-theme) .classic-pl-host { max-width:none; }

  body.fpl-theme .main-wrap { width:100%; max-width:none!important; min-width:0; }
  body.fpl-theme .content { max-width:1560px!important; width:100%; margin:0 auto; padding:20px 26px 60px!important; }
  body.fpl-theme .fixture-hub,
  body.fpl-theme .fixture-accordions,
  body.fpl-theme .fixture-accordion,
  body.fpl-theme .fixture-accordion-body { max-width:none!important; min-width:0; }
  body.fpl-theme .fixture-select-one { width:100%!important; max-width:none!important; margin:0!important; padding:12px!important; }
  body.fpl-theme .fixture-without-extra-tabs .fixture-squad-views {
    width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;gap:18px;
  }
  body.fpl-theme .fixture-accordion .fixture-squad-view,
  body.fpl-theme .fixture-accordion .fixture-squad-view[hidden],
  body.fpl-theme .fixture-squad-view[hidden] {
    display:block!important; visibility:visible!important; min-width:0;
  }
  body.fpl-theme .fixture-squad-view {
    background:#fff;border:1px solid #ded3e4;border-radius:12px;
    padding:10px!important;overflow:hidden;
  }
  body.fpl-theme .fixture-squad-view::before {
    display:block;text-align:center;text-transform:uppercase;letter-spacing:.06em;
    color:#37003c;font-weight:900;font-size:12px;padding:7px 4px 12px;
  }
  body.fpl-theme .fixture-squad-view[data-side-body="home"]::before { content:"Home squad"; }
  body.fpl-theme .fixture-squad-view[data-side-body="away"]::before { content:"Away squad"; }
  body.fpl-theme .fixture-squad-view .match-squad-panel { width:100%!important;max-width:none!important;min-width:0; }
  body.fpl-theme .fixture-accordion-score { position:relative!important; top:auto!important; z-index:auto!important; }
  body.fpl-theme .fixture-squad-switch { display:none!important; }
  body.fpl-theme .fixture-team-name.team-selected { text-decoration:none; }
  body.fpl-theme .fixture-accordion-body .pitch-compact .pitch-grass { width:100%;max-width:none; }
  body.fpl-theme .fixture-accordion-body .pitch-compact .footballer-name { overflow-wrap:anywhere; }
  /* PL match centre: home and away lineups visible in equal columns. */
  body.fpl-theme .pl-match-list { width:100%; }
  body.fpl-theme .pl-match-card.expanded { width:100%; }
  body.fpl-theme .pl-squad-detail { min-width:0; width:100%; }
  body.fpl-theme .pl-both-teams {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;gap:18px;width:100%;
  }
  body.fpl-theme .pl-both-team-section {
    min-width:0; margin:0!important; padding:12px!important;
    border:1px solid #ded3e4!important; border-radius:12px; background:#fff;
  }
  body.fpl-theme .pl-both-team-section+.pl-both-team-section {
    margin-top:0!important; padding-top:12px!important;
    border-top:1px solid #ded3e4!important;
  }
  body.fpl-theme .pl-both-team-section::before {
    display:block; padding:4px 3px 10px; text-align:center;
    font-weight:900;font-size:12px;letter-spacing:.06em;color:#37003c;
  }
  body.fpl-theme .pl-both-team-section:first-child::before {content:"Home team";}
  body.fpl-theme .pl-both-team-section:last-child::before {content:"Away team";}
  body.fpl-theme .pl-metric-panel { clear:both; }
  body.fpl-theme .pl-lineup-header { min-width:0; }
  body.fpl-theme .pl-match-card > button.pl-match-toggle.pl-match-score { min-height:72px; }
  body.fpl-theme .fixture-squad-view .pitch-grass,
  body.fpl-theme .pl-both-team-section .pl-pitch { max-width:100%; }
}

/* Classic Price Watch: simultaneous three-column desktop workspace.
   The original segmented views remain untouched on narrow and touch devices. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .price-watch-desktop-grid {
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;
    align-items:start;width:100%;
  }
  body:not(.fpl-theme) .price-watch-desktop-column {min-width:0;}
  body:not(.fpl-theme) .price-watch-desktop-column>.card {margin-bottom:12px;}
  body:not(.fpl-theme) .price-watch-desktop-list {
    max-height:min(950px,calc(100vh - 265px));min-height:300px;
    overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;
  }
  body:not(.fpl-theme) .price-watch-desktop-grid .price-watch-card {
    padding:14px 12px;
  }
  body:not(.fpl-theme) .price-watch-desktop-grid .price-watch-row {
    width:100%;min-width:0;gap:5px;
  }
  body:not(.fpl-theme) .price-watch-desktop-grid .price-watch-name {min-width:0;}
  body:not(.fpl-theme) .price-watch-squad-column>.card:first-child {
    padding:12px 14px;margin-bottom:10px;
  }
  body:not(.fpl-theme) .price-watch-squad-column>.card:first-child h2 {
    margin:0;
  }
  body:not(.fpl-theme) .price-watch-squad-column .pitch-panel,
  body:not(.fpl-theme) .price-watch-squad-column .football-field {
    max-width:100%;min-width:0;
  }
  body:not(.fpl-theme) .price-watch-squad-column .football-field {aspect-ratio:1/1.17;}
  body:not(.fpl-theme) .price-watch-squad-column .kit-image {
    height:clamp(34px,4vw,53px);
  }
  body:not(.fpl-theme) .price-watch-squad-column .kit-name {font-size:10px;}
  body:not(.fpl-theme) .price-watch-squad-column .bench-players .kit-image {height:41px;}
}

/* Desktop Table master/detail: full league table and selected manager's pitch.
   Narrow screens and coarse-pointer phones/tablets retain original expandable rows. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  .desktop-table-workspace {
    display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
    align-items:start;gap:18px;width:100%;min-width:0;
  }
  .desktop-table-standings,.desktop-table-team {min-width:0;}
  .desktop-table-team {
    background:#fff;border:1px solid #dfd7e5;border-radius:14px;
    padding:14px;box-shadow:0 2px 12px #37003c0b;
  }
  .desktop-table-team>h2 {
    margin:0 0 12px;color:#37003c;font-size:18px;font-weight:900;
    overflow-wrap:anywhere;
  }
  .desktop-table-team .league-expanded {margin:0;padding:8px;background:#f8f5fa;border-radius:9px;}
  .desktop-table-team .pitch-panel,.desktop-table-team .football-field {max-width:100%;min-width:0;}
  .desktop-table-team .football-field {aspect-ratio:1.12/1;}
  .desktop-table-team .kit-image {height:clamp(38px,4.3vw,64px);}
  .desktop-table-team .bench-players .kit-image {height:46px;}
  .desktop-table-standings .table-shell {overflow-x:auto;}
  .desktop-table-standings .league-table td {padding:11px 4px;}
  .desktop-table-standings .league-team-cell {overflow-wrap:anywhere;}
  .desktop-table-standings tr.league-row.expanded:not(.mine) td {
    background:#e7f9f0!important;
  }
  .desktop-table-team .pitch-grass {max-width:100%;}
  body.fpl-theme .desktop-table-workspace {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  body.fpl-theme .desktop-table-team {
    background:#fff;border:1px solid #dfd7e5;
    border-radius:12px;padding:13px;
  }
  body.fpl-theme .desktop-table-team>h2 {color:#37003c;}
  body.fpl-theme .desktop-table-team .table-roster-header {margin-bottom:10px;}
  body.fpl-theme .desktop-table-team .roster-pitch,
  body.fpl-theme .desktop-table-team .pitch-grass {width:100%;max-width:none;}
  body.fpl-theme .desktop-table-standings .minimalist-table {margin:0;}
  body.fpl-theme .desktop-table-standings .simple-table-scroll {width:100%;overflow-x:auto;}
  body.fpl-theme .desktop-table-standings .primary-league-table {width:100%;}
  body.fpl-theme .desktop-table-standings .table-team-row[aria-expanded="true"] {
    outline:2px solid #04a565;outline-offset:-2px;
  }
}

/* Three equal desktop Table columns: standings | selected pitch | chips/moves.
   Never applies to phones, touch-first Android devices or narrow windows. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  .desktop-table-workspace,
  body.fpl-theme .desktop-table-workspace {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px;align-items:start;
  }
  .desktop-table-standings,
  .desktop-table-team,
  .desktop-table-extras {min-width:0;max-width:100%;}
  .desktop-table-team {padding:10px!important;}
  .desktop-table-team .league-expanded {padding:4px!important;}
  .desktop-table-team .football-field {aspect-ratio:1/1.13!important;margin:6px;}
  .desktop-table-team .kit-image {height:clamp(32px,3.6vw,50px)!important;}
  .desktop-table-team .bench-players .kit-image {height:38px!important;}
  .desktop-table-team .kit-name {font-size:clamp(8px,.75vw,11px);}
  .desktop-table-standings .league-table {table-layout:fixed;}
  .desktop-table-standings .classic-league-table th,
  .desktop-table-standings .classic-league-table td {font-size:10px;padding-left:3px;padding-right:3px;}
  .desktop-table-extras {
    background:#fff;border:1px solid #dfd7e5;border-radius:14px;
    box-shadow:0 2px 12px #37003c0b;padding:12px;
  }
  .desktop-table-extras .classic-chip-inventory,
  .desktop-table-extras .classic-weekly-transfers {
    display:block;min-width:0;max-width:100%;margin:0 0 14px;
  }
  .desktop-table-extras .classic-chip-inventory {order:0;}
  .desktop-table-extras .classic-weekly-transfers {order:1;}
  .desktop-table-extras .chip-groups,
  .desktop-table-extras .chip-grid {min-width:0;}
  .desktop-table-extras .chip-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .desktop-table-extras .weekly-move-entry,
  .desktop-table-extras .weekly-move-names {min-width:0;}
  .desktop-table-extras .weekly-move-player {min-width:0;overflow-wrap:anywhere;}
  body.fpl-theme .desktop-table-team .pitch-grass,
  body.fpl-theme .desktop-table-team .roster-pitch {max-width:100%;min-width:0;}
  body.fpl-theme .desktop-table-team .footballer-name {overflow-wrap:anywhere;}
  body.fpl-theme .desktop-table-extras .desktop-draft-moves-heading {
    display:flex;align-items:center;justify-content:space-between;
    gap:8px;border-bottom:1px solid #e8dfee;padding-bottom:11px;margin-bottom:12px;
  }
  body.fpl-theme .desktop-table-extras .desktop-draft-moves-heading h2 {
    color:#37003c;font-size:16px;margin:0;
  }
  body.fpl-theme .desktop-table-extras .desktop-draft-moves-heading span {
    color:#74667c;font-size:11px;font-weight:700;
  }
}

/* Classic Stats / Ownership: pitch, net transfers in, net transfers out.
   Mouse-driven desktop only; mobile Stats markup remains untouched. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .desktop-stats-ownership-grid {
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;align-items:start;width:100%;min-width:0;
  }
  body:not(.fpl-theme) .desktop-stats-ownership-grid > div {min-width:0;}
  body:not(.fpl-theme) .desktop-stats-pitch-column .ownership-panel,
  body:not(.fpl-theme) .desktop-stats-moves-column .ownership-transfers-card {
    margin:0;min-width:0;max-width:100%;
  }
  body:not(.fpl-theme) .desktop-stats-pitch-column .ownership-pitch {
    padding:10px 2px;border-width:3px;
  }
  body:not(.fpl-theme) .desktop-stats-pitch-column .ownership-player {min-width:0;}
  body:not(.fpl-theme) .desktop-stats-pitch-column .ownership-kit {max-width:100%;}
  body:not(.fpl-theme) .desktop-stats-moves-column .ownership-transfers-card {
    background:#fff;box-shadow:0 2px 12px #37003c0b;
    border-radius:12px;overflow:hidden;
  }
  body:not(.fpl-theme) .desktop-stats-moves-column .ownership-transfers-card h3 {
    min-height:44px;display:flex;align-items:center;justify-content:center;
    padding:12px 8px;
  }
  body:not(.fpl-theme) .desktop-stats-moves-column .ownership-transfer-row {
    min-width:0;gap:6px;padding:13px 8px;
  }
  body:not(.fpl-theme) .desktop-stats-moves-column .ownership-transfer-main {
    min-width:0;flex:1;
  }
  body:not(.fpl-theme) .desktop-stats-moves-column .ownership-transfer-history {
    min-width:0;flex-wrap:wrap;
  }
  body:not(.fpl-theme) .desktop-stats-transfer-note {margin:12px 0 0;}
}


/* Price Watch desktop: four positions, each with side-by-side risers and fallers.
   No desktop squad column. Original mobile selector/views are untouched. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .price-watch-position-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:start;
    gap:12px;
    width:100%;
    margin:8px 0 14px;
  }
  body:not(.fpl-theme) .price-position-group {
    min-width:0;
    background:#fff;
    border:1px solid #dfd4e4;
    border-radius:13px;
    box-shadow:0 2px 10px #37003c0b;
    overflow:hidden;
  }
  body:not(.fpl-theme) .price-position-group>h2 {
    display:flex;justify-content:center;align-items:baseline;gap:7px;
    min-height:47px;padding:12px 6px;
    margin:0;background:#37003c;color:#fff;
    text-align:center;font-size:15px;font-weight:900;
  }
  body:not(.fpl-theme) .price-position-group>h2 small {
    font-size:10px;color:#cfc1d6;font-weight:750;
  }
  body:not(.fpl-theme) .price-position-dual {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;min-width:0;
  }
  body:not(.fpl-theme) .price-position-direction {
    min-width:0;overflow:hidden;
  }
  body:not(.fpl-theme) .price-position-direction + .price-position-direction {
    border-left:1px solid #e2d9e7;
  }
  body:not(.fpl-theme) .price-position-direction>h3 {
    margin:0;padding:11px 3px;
    background:#f5f1f6;text-align:center;
    font-size:12px;font-weight:900;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-position-direction>.price-risers-title {color:#008c58;}
  body:not(.fpl-theme) .price-position-direction>.price-fallers-title {color:#c92f55;}
  body:not(.fpl-theme) .price-position-rows {
    height:clamp(360px,calc(100vh - 320px),760px);
    overflow-y:auto;overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    padding:0 4px;
  }
  body:not(.fpl-theme) .price-position-rows .price-watch-row {
    width:100%;
    display:flex;flex-wrap:wrap;
    align-items:baseline;justify-content:space-between;
    column-gap:3px;row-gap:5px;
    padding:11px 3px;
    min-width:0;
  }
  body:not(.fpl-theme) .price-position-rows .price-watch-name {
    min-width:0;flex:1 1 100%;
  }
  body:not(.fpl-theme) .price-position-rows .price-watch-name strong {
    display:block;font-size:11px;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-position-rows .price-watch-name small {
    font-size:9px;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-position-rows .price-watch-reading {
    text-align:left;min-width:0;
  }
  body:not(.fpl-theme) .price-position-rows .price-watch-reading strong {
    font-size:12px;
  }
  body:not(.fpl-theme) .price-position-rows .price-watch-meter {
    display:block;width:100%;flex:1 0 100%;
    grid-column:auto;height:5px;
  }
  body:not(.fpl-theme) .price-position-rows .price-position-empty {
    padding:12px 6px;text-align:center;line-height:1.5;
  }
}


/* v0.98.73: calmer, denser desktop Price Watch with one scroll per position. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .price-position-group>h2 {
    min-height:44px;font-size:15px;padding:11px 6px;
  }
  body:not(.fpl-theme) .price-position-headings {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    background:#f7f5f8;border-bottom:1px solid #e6dfea;
  }
  body:not(.fpl-theme) .price-position-headings>h3 {
    margin:0;padding:10px 4px;font-size:12px;font-weight:800;
    text-align:center;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-position-headings>h3+ h3 {border-left:1px solid #e6dfea;}
  body:not(.fpl-theme) .price-position-headings .price-risers-title {color:#14805e;}
  body:not(.fpl-theme) .price-position-headings .price-fallers-title {color:#bd4768;}
  body:not(.fpl-theme) .price-position-scroll {
    height:clamp(360px,calc(100vh - 320px),760px);
    overflow-y:auto;overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-width:thin;scrollbar-color:#c9c0d0 transparent;
  }
  body:not(.fpl-theme) .price-position-scroll .price-position-dual {
    align-items:stretch;min-width:0;
  }
  body:not(.fpl-theme) .price-position-scroll .price-position-direction {
    min-width:0;overflow:visible;
  }
  body:not(.fpl-theme) .price-position-scroll .price-position-rows {
    height:auto;min-height:0;max-height:none;
    overflow:visible;padding:0 6px;
    scrollbar-width:auto;
  }
  body:not(.fpl-theme) .price-position-scroll .price-watch-row {
    display:flex;flex-direction:column;align-items:stretch;
    gap:3px;padding:10px 1px;
    border-bottom:1px solid #f0edf2;
    background:#fff;
  }
  body:not(.fpl-theme) .price-position-scroll .price-watch-row:hover {
    background:#f9f6fa;
  }
  body:not(.fpl-theme) .price-position-scroll .price-watch-mainline {
    display:flex;align-items:baseline;justify-content:space-between;
    gap:4px;width:100%;min-width:0;
  }
  body:not(.fpl-theme) .price-position-scroll .price-watch-player-name {
    min-width:0;flex:1;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    font-size:11px;font-weight:750;color:#37003c;
  }
  body:not(.fpl-theme) .price-position-scroll .price-watch-reading {
    flex:none;text-align:right;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-position-scroll .price-watch-reading strong {
    font-size:11px;font-weight:800;
  }
  body:not(.fpl-theme) .price-position-scroll .price-watch-row.rise .price-watch-reading strong {color:#15865d;}
  body:not(.fpl-theme) .price-position-scroll .price-watch-row.fall .price-watch-reading strong {color:#c84a69;}
  body:not(.fpl-theme) .price-position-scroll .price-watch-club-price {
    display:block;color:#8a7d91;
    font-size:9px;font-weight:500;
    line-height:1.25;
  }
  body:not(.fpl-theme) .price-position-scroll .price-watch-meter {display:none!important;}
}


/* v0.98.74 premium desktop Price Watch — removes eight narrow scrolling columns.
   These rules affect ONLY the desktop renderer and preserve Classic mobile views. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .price-premium {
    max-width:1512px;margin:0 auto;padding-bottom:44px;
    color:#270b34;font-family:-apple-system,BlinkMacSystemFont,Inter,"Segoe UI",Arial,sans-serif;
  }
  body:not(.fpl-theme) .price-premium-intro {
    display:flex;align-items:center;justify-content:space-between;gap:22px;
    padding:18px 0 20px;
  }
  body:not(.fpl-theme) .price-premium-intro h1 {
    font-size:clamp(27px,2.7vw,36px);line-height:1.12;
    font-weight:850;letter-spacing:-.045em;margin:0 0 7px;
  }
  body:not(.fpl-theme) .price-premium-intro p {
    margin:0;color:#786b7d;font-size:13px;
  }
  body:not(.fpl-theme) .price-premium-timing {
    display:flex;flex-direction:column;align-items:flex-end;gap:3px;
    padding:10px 0;
  }
  body:not(.fpl-theme) .price-premium-timing>span {
    font-size:10px;font-weight:800;letter-spacing:.11em;color:#83768a;
  }
  body:not(.fpl-theme) .price-premium-timing>strong {
    font-size:18px;font-weight:850;letter-spacing:-.03em;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-premium-timing>small {
    font-size:11px;color:#807388;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-premium-summary {
    display:flex;align-items:center;gap:11px;flex-wrap:wrap;
    padding:13px 18px;border:1px solid #e5dce9;
    border-radius:13px;background:#fff;box-shadow:0 2px 10px #37003c08;
    font-size:12px;
  }
  body:not(.fpl-theme) .price-premium-live-dot {
    width:8px;height:8px;border-radius:50%;background:#00bd7e;flex:none;
  }
  body:not(.fpl-theme) .price-premium-summary>strong {
    font-size:12px;color:#37003c;margin-right:5px;
  }
  body:not(.fpl-theme) .price-premium-summary>span:not(.price-premium-live-dot) {
    font-size:12px;font-weight:750;
  }
  body:not(.fpl-theme) .price-premium-summary>.price-premium-summary-separator {
    color:#bdb4c1;
  }
  body:not(.fpl-theme) .price-premium-summary>small {
    margin-left:auto;font-size:10px;color:#8a7c90;
  }
  body:not(.fpl-theme) .price-premium-filter-heading {
    display:flex;align-items:center;justify-content:space-between;
    margin-top:25px;margin-bottom:11px;
  }
  body:not(.fpl-theme) .price-premium-filter-heading h2 {
    font-size:17px;font-weight:850;letter-spacing:-.03em;margin:0;
  }
  body:not(.fpl-theme) .price-premium-filter-heading>span {
    font-size:11px;color:#887b8e;font-weight:650;
  }
  body:not(.fpl-theme) .price-premium-filters {
    display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;
  }
  body:not(.fpl-theme) .price-premium-filters button {
    border-radius:9px;border:1px solid #e1d8e5;background:#fff;
    padding:10px 16px;font-size:12px;font-weight:750;color:#55435e;
    min-height:39px;transition:background .15s ease,border-color .15s ease;
  }
  body:not(.fpl-theme) .price-premium-filters button:hover {
    border-color:#bba6c4;background:#f8f5fa;
  }
  body:not(.fpl-theme) .price-premium-filters button.is-active {
    background:#37003c;border-color:#37003c;color:#fff;
    box-shadow:0 2px 6px #37003c20;
  }
  body:not(.fpl-theme) .price-premium-panels {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;align-items:start;
  }
  body:not(.fpl-theme) .price-premium-panel {
    background:#fff;border:1px solid #e4dce8;
    border-radius:15px;overflow:hidden;min-width:0;
    box-shadow:0 4px 16px #37003c0b;
  }
  body:not(.fpl-theme) .price-premium-panel-head {
    display:flex;align-items:center;gap:12px;
    padding:19px 19px 17px;
    border-bottom:1px solid #eee8f0;
  }
  body:not(.fpl-theme) .price-premium-direction-icon {
    display:grid;place-items:center;flex:none;
    width:36px;height:36px;border-radius:10px;
    font-size:22px;font-weight:850;
  }
  body:not(.fpl-theme) .price-premium-panel.rise .price-premium-direction-icon {
    background:#e7f7f0;color:#068558;
  }
  body:not(.fpl-theme) .price-premium-panel.fall .price-premium-direction-icon {
    background:#fbeaf0;color:#c53660;
  }
  body:not(.fpl-theme) .price-premium-panel-head>div {min-width:0;}
  body:not(.fpl-theme) .price-premium-panel-head h2 {
    margin:0 0 3px;font-size:17px;letter-spacing:-.025em;font-weight:850;
  }
  body:not(.fpl-theme) .price-premium-panel-head p {
    margin:0;font-size:11px;color:#897d8e;
  }
  body:not(.fpl-theme) .price-premium-count {
    margin-left:auto;align-self:center;flex:none;
    background:#f5f2f6;border-radius:7px;padding:6px 9px;
    color:#71647a;font-size:10px;font-weight:750;
  }
  body:not(.fpl-theme) .price-premium-table-head {
    display:grid;grid-template-columns:minmax(0,1.3fr) minmax(105px,.8fr) 105px;
    gap:12px;padding:10px 18px;background:#faf9fb;
    color:#978a9b;font-size:9px;letter-spacing:.08em;font-weight:850;
  }
  body:not(.fpl-theme) .price-premium-list {padding:0 10px 6px;min-width:0;}
  body:not(.fpl-theme) .price-premium-player {
    width:100%;display:grid;align-items:center;text-align:left;
    grid-template-columns:minmax(0,1.3fr) minmax(105px,.8fr) 105px;
    gap:12px;min-height:65px;padding:11px 8px;
    border:0;border-bottom:1px solid #f0ebf2;
    background:#fff;color:#37003c;
  }
  body:not(.fpl-theme) .price-premium-player:last-child {border-bottom:0;}
  body:not(.fpl-theme) .price-premium-player:hover {background:#f8f6fa;}
  body:not(.fpl-theme) .price-premium-identity,
  body:not(.fpl-theme) .price-premium-value {
    display:flex;flex-direction:column;min-width:0;gap:4px;
  }
  body:not(.fpl-theme) .price-premium-identity>strong {
    font-size:13px;font-weight:800;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-premium-identity>small,
  body:not(.fpl-theme) .price-premium-value>small {
    color:#998e9e;font-size:10px;
  }
  body:not(.fpl-theme) .price-premium-value>strong {
    font-size:14px;font-weight:800;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-premium-value.up>strong {color:#087d56;}
  body:not(.fpl-theme) .price-premium-value.down>strong {color:#be3c61;}
  body:not(.fpl-theme) .price-premium-status {
    display:inline-flex;align-items:center;justify-content:center;
    padding:8px 5px;min-height:27px;text-align:center;
    border:1px solid transparent;border-radius:7px;
    font-size:10px;font-weight:750;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-premium-status.very-likely {
    background:#e7f6ec;border-color:#c6e9d5;color:#087647;
  }
  body:not(.fpl-theme) .price-premium-panel.fall .price-premium-status.very-likely {
    background:#fbeaf0;border-color:#f0cfda;color:#ad2e58;
  }
  body:not(.fpl-theme) .price-premium-status.likely {
    background:#f5f0df;color:#887019;
  }
  body:not(.fpl-theme) .price-premium-status.monitoring {
    background:#f6f4f7;color:#82788a;
  }
  body:not(.fpl-theme) .price-premium-note {
    margin:17px 0 0;color:#877d8d;
    font-size:11px;line-height:1.65;
  }
}


/* Desktop Price Watch v0.98.75: UK reset countdown and season-to-date change. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .price-premium-timing .price-premium-countdown {
    display:block;
    margin-top:3px;
    padding:5px 12px;
    border:1px solid #d9cfe0;
    background:#fff;
    border-radius:8px;
    font-size:15px;
    line-height:1.2;
    letter-spacing:.025em;
    font-weight:850;
    color:#37003c;
    font-variant-numeric:tabular-nums;
  }
  body:not(.fpl-theme) .price-premium-table-head,
  body:not(.fpl-theme) .price-premium-player {
    grid-template-columns:minmax(110px,1.45fr) minmax(96px,.88fr) minmax(75px,.75fr) minmax(92px,.76fr);
    gap:8px;
  }
  body:not(.fpl-theme) .price-premium-table-head {font-size:8px;padding-left:18px;padding-right:18px;}
  body:not(.fpl-theme) .price-premium-season {
    display:flex;align-items:center;min-width:0;
  }
  body:not(.fpl-theme) .price-premium-season strong {
    font-size:12px;font-weight:800;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
    letter-spacing:-.015em;
  }
  body:not(.fpl-theme) .price-premium-season.gain strong {color:#087d56;}
  body:not(.fpl-theme) .price-premium-season.loss strong {color:#be3c61;}
  body:not(.fpl-theme) .price-premium-season.flat strong,
  body:not(.fpl-theme) .price-premium-season.unknown strong {color:#877f8b;}
  body:not(.fpl-theme) .price-premium-value>strong {font-size:13px;}
  body:not(.fpl-theme) .price-premium-status {font-size:9px;}
}


/* v0.98.76: shared sortable headings and a true phone-first Price Watch layout. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .price-premium-table-head,
  body:not(.fpl-theme) .price-premium-player {
    grid-template-columns:minmax(118px,1.45fr) 66px minmax(88px,.85fr) minmax(85px,.8fr) minmax(88px,.78fr);
    gap:9px;
  }
  body:not(.fpl-theme) .price-premium-mobile-sort {display:none!important;}
  body:not(.fpl-theme) .price-premium-table-head {
    padding:0 18px;
    align-items:stretch;
  }
  body:not(.fpl-theme) .price-premium-table-head .price-sort-head {
    display:flex;align-items:center;justify-content:flex-start;gap:4px;
    text-align:left;min-width:0;background:none;border:0;
    padding:12px 0;font-size:9px;color:#877a8b;
    font-weight:850;letter-spacing:.02em;white-space:nowrap;
    cursor:pointer;
  }
  body:not(.fpl-theme) .price-premium-table-head .price-sort-head.is-sorted {
    color:#37003c;
  }
  body:not(.fpl-theme) .price-premium-table-head .price-sort-head:hover {color:#37003c;}
  body:not(.fpl-theme) .price-premium-table-head .price-sort-head span {
    color:#9d8ca4;font-size:11px;
  }
  body:not(.fpl-theme) .price-premium-current {
    font-size:12px;font-weight:700;white-space:nowrap;color:#55445c;
    font-variant-numeric:tabular-nums;
  }
  body:not(.fpl-theme) .price-premium-status {white-space:nowrap;}
}
/* Phone and touch/tablet devices: the same data, without a cramped miniature table. */
@media (max-width:1099px), (hover:none), (pointer:coarse) {
  body:not(.fpl-theme) .price-premium {
    width:100%;min-width:0;max-width:100%;padding:0 0 44px;
    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,"Segoe UI",Arial,sans-serif;
  }
  body:not(.fpl-theme) .price-premium-intro {
    display:flex;flex-direction:column;align-items:stretch;gap:12px;
    padding:2px 0 14px;
  }
  body:not(.fpl-theme) .price-premium-intro h1 {
    font-size:clamp(22px,6vw,30px);font-weight:850;letter-spacing:-.04em;
    margin:0 0 4px;line-height:1.12;color:#37003c;
  }
  body:not(.fpl-theme) .price-premium-intro p {
    font-size:11px;color:#7e6c84;margin:0;
  }
  body:not(.fpl-theme) .price-premium-timing {
    display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;
    padding:12px 14px;background:#fff;border:1px solid #e4dbe8;
    border-radius:12px;box-shadow:0 1px 5px #37003c08;
  }
  body:not(.fpl-theme) .price-premium-timing>span:first-child {
    grid-column:1;font-size:9px;letter-spacing:.06em;font-weight:850;color:#827488;
  }
  body:not(.fpl-theme) .price-premium-timing>strong {
    grid-column:1;font-size:15px;font-weight:850;color:#37003c;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-premium-timing .price-premium-countdown {
    grid-column:2;grid-row:1/3;white-space:nowrap;
    font-variant-numeric:tabular-nums;font-size:13px;font-weight:850;
    color:#37003c;padding:9px 10px;border-radius:9px;
    background:#f5f0f7;
  }
  body:not(.fpl-theme) .price-premium-timing>small {
    grid-column:1/-1;font-size:10px;color:#85798d;padding-top:4px;
  }
  body:not(.fpl-theme) .price-premium-summary {
    display:flex;align-items:center;flex-wrap:wrap;gap:6px;
    background:#fff;border:1px solid #e3dbe7;border-radius:11px;
    padding:11px 12px;font-size:11px;color:#37003c;
  }
  body:not(.fpl-theme) .price-premium-summary .price-premium-live-dot {
    flex:none;width:7px;height:7px;border-radius:50%;background:#05ac75;
  }
  body:not(.fpl-theme) .price-premium-summary>strong {font-weight:800;margin-right:6px;}
  body:not(.fpl-theme) .price-premium-summary>small {
    display:block;flex:1 0 100%;font-size:10px;color:#817587;
  }
  body:not(.fpl-theme) .price-premium-summary-separator {color:#aaa0af;}
  body:not(.fpl-theme) .price-premium-filter-heading {
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    margin:18px 0 9px;
  }
  body:not(.fpl-theme) .price-premium-filter-heading h2 {
    margin:0;color:#37003c;font-size:16px;font-weight:850;
  }
  body:not(.fpl-theme) .price-premium-filter-heading>span {
    color:#8d8091;font-size:10px;
  }
  body:not(.fpl-theme) .price-premium-filters {
    display:flex;gap:7px;overflow-x:auto;max-width:100%;
    padding:1px 1px 10px;margin:0 0 5px;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  body:not(.fpl-theme) .price-premium-filters::-webkit-scrollbar {display:none;}
  body:not(.fpl-theme) .price-premium-filters button {
    flex:none;min-height:40px;padding:9px 13px;
    border:1px solid #e0d5e3;background:#fff;border-radius:9px;
    font-size:11px;font-weight:750;color:#59455f;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-premium-filters button.is-active {
    background:#37003c;border-color:#37003c;color:#fff;
  }
  body:not(.fpl-theme) .price-premium-panels {
    display:flex;flex-direction:column;gap:12px;width:100%;min-width:0;
  }
  body:not(.fpl-theme) .price-premium-panel {
    width:100%;min-width:0;overflow:hidden;
    border:1px solid #e2d8e5;background:#fff;border-radius:13px;
    box-shadow:0 2px 9px #37003c09;
  }
  body:not(.fpl-theme) .price-premium-panel-head {
    display:flex;gap:10px;align-items:center;
    padding:13px 12px 10px;border-bottom:1px solid #eee7ef;
  }
  body:not(.fpl-theme) .price-premium-direction-icon {
    display:grid;place-items:center;flex:none;width:32px;height:32px;
    border-radius:9px;font-size:19px;font-weight:850;
  }
  body:not(.fpl-theme) .price-premium-panel.rise .price-premium-direction-icon {
    background:#e8f7f0;color:#0a855b;
  }
  body:not(.fpl-theme) .price-premium-panel.fall .price-premium-direction-icon {
    background:#fbeaf0;color:#bc375f;
  }
  body:not(.fpl-theme) .price-premium-panel-head>div {min-width:0;}
  body:not(.fpl-theme) .price-premium-panel-head h2 {
    margin:0 0 3px;font-weight:850;font-size:16px;color:#37003c;
  }
  body:not(.fpl-theme) .price-premium-panel-head p {
    margin:0;font-size:10px;color:#857889;
  }
  body:not(.fpl-theme) .price-premium-count {
    margin-left:auto;flex:none;padding:5px 7px;background:#f4f0f5;
    color:#796b80;border-radius:7px;font-size:10px;font-weight:750;
  }
  body:not(.fpl-theme) .price-premium-table-head {display:none;}
  body:not(.fpl-theme) .price-premium-mobile-sort {
    display:flex;gap:8px;align-items:center;justify-content:flex-end;
    padding:9px 12px;background:#faf8fb;border-bottom:1px solid #eee7ef;
  }
  body:not(.fpl-theme) .price-premium-mobile-sort label {
    font-size:11px;font-weight:750;color:#71657c;margin-right:auto;
  }
  body:not(.fpl-theme) .price-premium-mobile-sort select,
  body:not(.fpl-theme) .price-premium-mobile-sort button {
    min-height:38px;min-width:0;padding:7px 8px;border-radius:8px;
    background:#fff;border:1px solid #ded4e3;color:#37003c;
    font:750 11px -apple-system,BlinkMacSystemFont,Inter,"Segoe UI",sans-serif;
  }
  body:not(.fpl-theme) .price-premium-mobile-sort select {
    max-width:140px;
  }
  body:not(.fpl-theme) .price-premium-list {
    display:block;padding:0 10px 6px;min-width:0;
  }
  body:not(.fpl-theme) .price-premium-player {
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;
    width:100%;min-width:0;padding:12px 3px;
    border:0;border-bottom:1px solid #f0eaf2;background:#fff;
    text-align:left;color:#37003c;align-items:center;
  }
  body:not(.fpl-theme) .price-premium-player:last-child {border-bottom:0;}
  body:not(.fpl-theme) .price-premium-identity {
    grid-row:1;grid-column:1;
    display:flex;flex-direction:column;min-width:0;gap:2px;
  }
  body:not(.fpl-theme) .price-premium-identity>strong {
    font-size:13px;font-weight:800;white-space:nowrap;
    overflow:hidden;text-overflow:ellipsis;
  }
  body:not(.fpl-theme) .price-premium-identity>small {
    font-size:10px;color:#8d8193;
  }
  body:not(.fpl-theme) .price-premium-value {
    grid-row:1;grid-column:2;display:flex;align-items:flex-end;
    flex-direction:column;gap:2px;white-space:nowrap;
  }
  body:not(.fpl-theme) .price-premium-value>strong {
    font-size:15px;font-weight:850;
  }
  body:not(.fpl-theme) .price-premium-value.up>strong {color:#068353;}
  body:not(.fpl-theme) .price-premium-value.down>strong {color:#c23d60;}
  body:not(.fpl-theme) .price-premium-value>small {font-size:9px;color:#8e8294;}
  body:not(.fpl-theme) .price-premium-current {
    grid-row:2;grid-column:1;font-size:11px;color:#5e5065;
  }
  body:not(.fpl-theme) .price-premium-season {
    grid-row:2;grid-column:2;justify-self:end;
    font-variant-numeric:tabular-nums;font-size:11px;font-weight:800;
  }
  body:not(.fpl-theme) .price-premium-season::before {
    content:"Season ";font-weight:600;color:#988b9e;
  }
  body:not(.fpl-theme) .price-premium-season.gain {color:#087d56;}
  body:not(.fpl-theme) .price-premium-season.loss {color:#be3c61;}
  body:not(.fpl-theme) .price-premium-season.flat,
  body:not(.fpl-theme) .price-premium-season.unknown {color:#847989;}
  body:not(.fpl-theme) .price-premium-status {
    grid-row:3;grid-column:1/-1;justify-self:start;
    font-size:10px;font-weight:750;padding:4px 7px;
    border-radius:6px;background:#f5f1f6;color:#83788b;
  }
  body:not(.fpl-theme) .price-premium-status.very-likely {
    background:#e7f6ec;color:#087647;
  }
  body:not(.fpl-theme) .price-premium-panel.fall .price-premium-status.very-likely {
    background:#fbeaf0;color:#ad2e58;
  }
  body:not(.fpl-theme) .price-premium-status.likely {
    background:#f7f1dd;color:#886d19;
  }
  body:not(.fpl-theme) .price-premium-empty {padding:12px 4px;}
  body:not(.fpl-theme) .price-premium-note {
    margin:13px 2px;color:#827689;font-size:10px;line-height:1.5;
  }
}


/* v0.98.77 Price Watch layout: badges beside names, season before price,
   and a Table-style purple update deadline without advertising. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
 body:not(.fpl-theme) .price-premium-table-head,
 body:not(.fpl-theme) .price-premium-player {
   grid-template-columns:minmax(146px,1.8fr) minmax(90px,.8fr) minmax(92px,.74fr) 66px!important;
   gap:10px!important;
 }
 body:not(.fpl-theme) .price-premium-name-line {
   display:flex;align-items:center;gap:7px;min-width:0;
 }
 body:not(.fpl-theme) .price-premium-name-line>strong {
   min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
   font-size:13px;font-weight:800;
 }
 body:not(.fpl-theme) .price-premium-name-line .price-premium-status {
   flex:none;font-size:9px;padding:5px 6px;min-height:22px;
 }
 body:not(.fpl-theme) .price-premium-season {
   min-width:0;font-variant-numeric:tabular-nums;
 }
 body:not(.fpl-theme) .price-premium-current {
   white-space:nowrap;font-size:12px;
 }
 body:not(.fpl-theme) .price-premium-intro .price-premium-timing {
   min-width:350px;max-width:450px;margin:0;
 }
}
@media (max-width:1099px), (hover:none), (pointer:coarse) {
 body:not(.fpl-theme) .price-premium-mobile-sort {
   display:grid;grid-template-columns:minmax(0,1.35fr) minmax(78px,1fr) minmax(60px,.7fr);
   gap:3px;padding:0 12px;background:#faf8fb;
 }
 body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head {
   min-height:43px;min-width:0;
   display:flex;align-items:center;justify-content:flex-start;gap:2px;
   padding:7px 3px;border:0;background:none;color:#82748a;
   font-size:10px;font-weight:800;letter-spacing:.005em;
   white-space:nowrap;text-align:left;cursor:pointer;
 }
 body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head.is-sorted {color:#37003c;}
 body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head span {font-size:11px;}
 body:not(.fpl-theme) .price-premium-player {
   grid-template-columns:minmax(0,1.35fr) minmax(78px,1fr) minmax(60px,.7fr);
   grid-template-rows:auto;
   gap:5px 3px;align-items:center;padding:12px 5px;
 }
 body:not(.fpl-theme) .price-premium-identity {
   grid-column:1;grid-row:1/span 2;align-self:center;min-width:0;
 }
 body:not(.fpl-theme) .price-premium-name-line {
   display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;
 }
 body:not(.fpl-theme) .price-premium-name-line>strong {
   font-size:12px;line-height:1.25;font-weight:800;
   overflow-wrap:anywhere;min-width:0;
 }
 body:not(.fpl-theme) .price-premium-name-line .price-premium-status {
   min-height:0;display:inline-flex;align-items:center;justify-self:start;
   font-size:9px;font-weight:750;line-height:1.15;
   padding:3px 5px;border-radius:5px;white-space:normal;
 }
 body:not(.fpl-theme) .price-premium-identity>small {
   display:block;font-size:10px;color:#897b91;
 }
 body:not(.fpl-theme) .price-premium-value {
   grid-column:1;grid-row:3;align-items:flex-start;
   flex-direction:row;gap:5px;
 }
 body:not(.fpl-theme) .price-premium-value>strong {font-size:12px;}
 body:not(.fpl-theme) .price-premium-value>small {display:none;}
 body:not(.fpl-theme) .price-premium-season {
   grid-column:2;grid-row:1/span 3;justify-self:start;
   min-width:0;font-size:11px;
 }
 body:not(.fpl-theme) .price-premium-season::before {content:none;}
 body:not(.fpl-theme) .price-premium-season strong {font-weight:800;white-space:nowrap;}
 body:not(.fpl-theme) .price-premium-current {
   grid-column:3;grid-row:1/span 3;justify-self:start;
   font-size:11px;font-weight:750;white-space:nowrap;
 }
}
/* Match the actual Table tab deadline treatment on every screen size. */
body:not(.fpl-theme) .price-premium .deadline.price-premium-timing {
 display:block!important;
 background:linear-gradient(112deg,#3a0048,#5a0d62)!important;
 color:#fff!important;border:0!important;
 border-radius:13px!important;
 padding:0!important;
 box-shadow:none!important;
 overflow:hidden;
}
body:not(.fpl-theme) .price-premium .price-premium-deadline-main {
 display:flex!important;justify-content:space-between!important;
 align-items:center!important;gap:14px!important;
 padding:14px 16px!important;min-width:0;
}
body:not(.fpl-theme) .price-premium .price-premium-deadline-main>div {
 min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;
}
body:not(.fpl-theme) .price-premium .price-premium-deadline-main small:first-child {
 display:block;font-size:10px;font-weight:900;letter-spacing:.07em;
 color:#00ff87!important;
}
body:not(.fpl-theme) .price-premium .price-premium-deadline-main strong {
 color:#fff!important;font-size:13px!important;
 font-weight:850;line-height:1.25;white-space:nowrap;margin:0;
}
body:not(.fpl-theme) .price-premium .price-premium-local-date {
 color:#e3cbe7!important;font-size:10px!important;
 font-weight:500;line-height:1.25;white-space:normal;
}
body:not(.fpl-theme) .price-premium .price-premium-countdown.clock {
 display:block!important;position:static;
 flex:none;align-self:center;
 margin:0!important;padding:0!important;
 background:transparent!important;border:0!important;
 color:#00ff87!important;font-weight:900!important;
 font-size:clamp(12px,1.6vw,19px)!important;
 line-height:1.2!important;
 white-space:nowrap!important;font-variant-numeric:tabular-nums;
}
@media (max-width:600px) {
 body:not(.fpl-theme) .price-premium .price-premium-deadline-main {
   gap:9px!important;padding:13px 11px!important;
 }
 body:not(.fpl-theme) .price-premium .price-premium-deadline-main strong {
   font-size:12px!important;
 }
 body:not(.fpl-theme) .price-premium .price-premium-countdown.clock {
   font-size:clamp(11px,3.15vw,15px)!important;
 }
 body:not(.fpl-theme) .price-premium .price-premium-local-date {
   font-size:9px!important;
 }
}


/* v0.98.78 Price Watch: three explicit numeric sorts with mobile name/outlook
   above an aligned, sortable three-column data row. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
 body:not(.fpl-theme) .price-premium-table-head .price-player-heading {
   display:flex;align-items:center;
   color:#877a8b;font-size:9px;font-weight:850;
   letter-spacing:.02em;white-space:nowrap;
 }
 body:not(.fpl-theme) .price-premium-table-head .price-sort-head {
   min-height:43px;
   padding:11px 3px;
   cursor:pointer;
 }
 body:not(.fpl-theme) .price-premium-table-head .price-sort-head.is-sorted {
   color:#37003c;
   background:#f5f0f8;
   border-radius:6px;
 }
 body:not(.fpl-theme) .price-premium-table-head .price-sort-head:focus-visible {
   outline:2px solid #00ba78;outline-offset:-2px;border-radius:5px;
 }
}
@media (max-width:1099px), (hover:none), (pointer:coarse) {
 body:not(.fpl-theme) .price-premium-mobile-sort {
   display:grid!important;
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:4px!important;
   padding:3px 12px!important;
 }
 body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head {
   justify-content:center!important;
   text-align:center!important;
   white-space:normal!important;
   font-size:clamp(9px,2.5vw,11px)!important;
   line-height:1.15!important;
   padding:10px 2px!important;
   min-height:42px!important;
 }
 body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head.is-sorted {
   background:#eee5f2!important;border-radius:6px;
   color:#37003c!important;
 }
 body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head:focus-visible {
   outline:2px solid #00b978;outline-offset:-2px;border-radius:6px;
 }
 body:not(.fpl-theme) .price-premium-player {
   display:grid!important;
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
   grid-template-rows:auto auto!important;
   row-gap:10px!important;column-gap:4px!important;
   align-items:center!important;
   padding:11px 8px!important;
 }
 body:not(.fpl-theme) .price-premium-identity {
   grid-column:1/-1!important;grid-row:1!important;
   display:flex!important;flex-direction:column!important;
   gap:3px!important;align-self:center!important;
 }
 body:not(.fpl-theme) .price-premium-name-line {
   display:flex!important;align-items:center!important;
   flex-wrap:wrap!important;gap:5px!important;
   min-width:0;
 }
 body:not(.fpl-theme) .price-premium-name-line>strong {
   font-size:13px!important;line-height:1.2!important;
   overflow-wrap:normal!important;
 }
 body:not(.fpl-theme) .price-premium-name-line .price-premium-status {
   display:inline-flex!important;
   position:static!important;
   padding:4px 6px!important;min-height:0!important;
   font-size:9px!important;line-height:1!important;
   white-space:nowrap!important;
   grid-row:auto!important;grid-column:auto!important;
 }
 body:not(.fpl-theme) .price-premium-identity>small {
   font-size:10px!important;line-height:1.1!important;
 }
 body:not(.fpl-theme) .price-premium-value {
   grid-column:1!important;grid-row:2!important;
   display:flex!important;flex-direction:column!important;
   align-items:center!important;justify-self:stretch!important;
   gap:2px!important;min-width:0!important;
 }
 body:not(.fpl-theme) .price-premium-value>strong {font-size:13px!important;}
 body:not(.fpl-theme) .price-premium-value>small {display:none!important;}
 body:not(.fpl-theme) .price-premium-season {
   grid-column:2!important;grid-row:2!important;
   justify-self:center!important;
   display:flex!important;align-items:center!important;
   min-width:0!important;font-size:12px!important;
 }
 body:not(.fpl-theme) .price-premium-season::before {content:none!important;}
 body:not(.fpl-theme) .price-premium-season strong {
   font-size:12px!important;white-space:nowrap!important;
 }
 body:not(.fpl-theme) .price-premium-current {
   grid-column:3!important;grid-row:2!important;
   justify-self:center!important;align-self:center!important;
   min-width:0!important;
   font-size:12px!important;white-space:nowrap!important;
 }
}


/* v0.98.79: screenshot-matched Price Watch ordering and aligned outlook badge. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .price-premium-table-head,
  body:not(.fpl-theme) .price-premium-player {
    grid-template-columns:minmax(135px,1.4fr) minmax(65px,.58fr) minmax(87px,.78fr) minmax(91px,.77fr) minmax(77px,.72fr)!important;
    gap:9px!important;
  }
  body:not(.fpl-theme) .price-premium-table-head .price-outlook-heading {
    display:block;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-status {
    display:inline-flex!important;grid-column:5!important;
    justify-self:start;align-self:center;
    white-space:nowrap;min-width:0;
    font-size:9px;padding:7px 6px;min-height:26px;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-identity {
    grid-column:1;min-width:0;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-current {
    grid-column:2;justify-self:start;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-season {
    grid-column:3;justify-self:start;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-value {
    grid-column:4;justify-self:start;
  }
}
@media (max-width:1099px), (hover:none), (pointer:coarse) {
  /* Screenshot hierarchy on phones: player + outlook line, followed by
     PRICE / SEASON +/- / RISE or FALL % sortable headings and values. */
  body:not(.fpl-theme) .price-premium-mobile-sort {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body:not(.fpl-theme) .price-premium-player {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:auto auto!important;
    column-gap:4px!important;
    row-gap:7px!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-identity {
    grid-column:1/3!important;grid-row:1!important;
    align-self:center!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-name-line {
    display:flex!important;align-items:center!important;gap:4px!important;
    flex-wrap:wrap!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-status {
    grid-column:3!important;grid-row:1!important;
    align-self:center!important;justify-self:end!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:0!important;max-width:100%!important;
    padding:5px 6px!important;border-radius:6px!important;
    font-size:9px!important;line-height:1.15!important;
    text-align:center!important;white-space:normal!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-current {
    grid-column:1!important;grid-row:2!important;
    justify-self:center!important;font-size:12px!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-season {
    grid-column:2!important;grid-row:2!important;
    justify-self:center!important;font-size:12px!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-value {
    grid-column:3!important;grid-row:2!important;
    justify-self:center!important;align-items:center!important;
    display:flex!important;flex-direction:column!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-value>strong {
    font-size:13px!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-value>small {
    display:none!important;
  }
}


/* v0.98.80 — compact iPhone/Android rows matching the desktop reference.
   Five aligned cells on ONE line, including the outlook badge. */
@media (max-width:1099px), (hover:none), (pointer:coarse) {
  body:not(.fpl-theme) .price-premium-mobile-sort,
  body:not(.fpl-theme) .price-premium-player {
    grid-template-columns:minmax(0,1.65fr) minmax(0,.72fr) minmax(0,.96fr) minmax(0,.8fr) minmax(0,.85fr)!important;
    column-gap:3px!important;
  }
  body:not(.fpl-theme) .price-premium-mobile-sort {
    display:grid!important;
    align-items:center!important;
    min-height:39px!important;
    padding:2px 7px!important;
  }
  body:not(.fpl-theme) .price-premium-mobile-sort .price-mobile-player-heading {
    display:block!important;align-self:center;
    color:#8e8193;font-size:9px;font-weight:850;
    letter-spacing:.025em;
  }
  body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head {
    display:flex!important;justify-content:center!important;
    align-items:center!important;gap:1px!important;
    padding:6px 0!important;min-height:34px!important;
    font-size:clamp(8px,2.25vw,10px)!important;
    line-height:1.05!important;text-align:center!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
  }
  body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head span {
    font-size:10px!important;flex:none;
  }
  body:not(.fpl-theme) .price-premium-player {
    display:grid!important;align-items:center!important;
    grid-template-rows:minmax(42px,auto)!important;
    row-gap:0!important;
    padding:8px 7px!important;
    min-height:54px!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-identity {
    grid-column:1!important;grid-row:1!important;
    min-width:0!important;align-self:center!important;
    gap:3px!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-name-line {
    display:flex!important;min-width:0!important;
    align-items:center!important;flex-wrap:nowrap!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-name-line>strong {
    display:block!important;min-width:0!important;max-width:100%!important;
    font-size:clamp(9px,2.65vw,11px)!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-identity>small {
    font-size:9px!important;line-height:1.1!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-current {
    grid-column:2!important;grid-row:1!important;
    justify-self:center!important;align-self:center!important;
    min-width:0!important;white-space:nowrap!important;
    font-size:clamp(9px,2.6vw,11px)!important;font-weight:750!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-season {
    grid-column:3!important;grid-row:1!important;
    justify-self:center!important;align-self:center!important;
    min-width:0!important;font-size:clamp(9px,2.5vw,11px)!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-season>strong {
    font-size:inherit!important;letter-spacing:-.035em!important;
    white-space:nowrap!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-value {
    grid-column:4!important;grid-row:1!important;
    display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-self:center!important;
    min-width:0!important;gap:3px!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-value>strong {
    font-size:clamp(9px,2.65vw,11px)!important;white-space:nowrap!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-value>small {
    display:none!important;
  }
  body:not(.fpl-theme) .price-premium-player .price-premium-status {
    grid-column:5!important;grid-row:1!important;
    display:inline-flex!important;align-items:center!important;
    justify-content:center!important;justify-self:center!important;
    align-self:center!important;min-width:0!important;max-width:100%!important;
    padding:4px 3px!important;margin:0!important;
    border-radius:6px!important;
    font-size:clamp(7px,1.95vw,9px)!important;
    font-weight:750!important;line-height:1.15!important;
    white-space:normal!important;text-align:center!important;
  }
  body:not(.fpl-theme) .price-premium-list {
    padding:0 5px 5px!important;
  }
}

/* Price Watch: never wrap sortable column headings on compact screens. */
@media (max-width:1099px), (hover:none), (pointer:coarse) {
 body:not(.fpl-theme) .price-premium-mobile-sort,
 body:not(.fpl-theme) .price-premium-player {
  grid-template-columns:minmax(0,1.53fr) minmax(0,.72fr) minmax(0,1.12fr) minmax(0,.77fr) minmax(0,.84fr)!important;
  column-gap:2px!important;
 }
 body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head {
  min-width:0!important;
  white-space:nowrap!important;
  flex-wrap:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  font-size:clamp(7.5px,2.12vw,9.5px)!important;
  letter-spacing:-.025em!important;
  gap:1px!important;
 }
 body:not(.fpl-theme) .price-premium-mobile-sort .price-sort-head span{
  display:inline-flex!important;flex:0 0 auto!important;
  font-size:9px!important;
 }
}
body:not(.fpl-theme) .price-premium-table-head .price-sort-head{
 white-space:nowrap!important;
 flex-wrap:nowrap!important;
}

/* Price Watch: show all five position filters on one mobile row without swiping. */
@media (max-width:1099px), (hover:none), (pointer:coarse) {
 body:not(.fpl-theme) .price-premium-filters{
  display:grid!important;
  grid-template-columns:minmax(0,1.13fr) minmax(0,1.22fr) minmax(0,1fr) minmax(0,1.19fr) minmax(0,.96fr)!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  gap:4px!important;padding:1px 0 7px!important;margin:0 0 5px!important;
  overflow-x:visible!important;overflow-y:visible!important;
  flex-wrap:nowrap!important;box-sizing:border-box!important;
 }
 body:not(.fpl-theme) .price-premium-filters button{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:42px!important;height:42px!important;
  margin:0!important;padding:5px 2px!important;
  font-size:clamp(8px,2.25vw,11px)!important;line-height:1.08!important;
  letter-spacing:-.025em!important;text-align:center!important;
  white-space:normal!important;overflow-wrap:normal!important;
  word-break:normal!important;box-sizing:border-box!important;
 }
}


/* v0.98.82 Desktop Classic Captaincy: GW average plus aligned sortable metrics. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .captaincy-stats {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;gap:18px;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average {
    min-width:0;padding:14px 12px 18px;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-columns,
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-player {
    grid-template-columns:24px 36px minmax(95px,1fr) 58px 55px 60px 50px;
    column-gap:6px;min-width:0;align-items:center;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-player-heading {
    grid-column:1 / span 3;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-columns {
    padding:9px 3px;
    border-bottom:1px solid #e5dce8;
    background:#faf8fb;border-radius:7px 7px 0 0;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-columns button {
    width:100%;min-width:0;
    display:flex;align-items:center;justify-content:center;
    padding:9px 2px;white-space:normal;
    font-size:10px;line-height:1.2;
    font-weight:800;border-radius:6px;
    text-align:center;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-columns button[aria-pressed="true"] {
    color:#37003c;background:#efe7f2;
    text-decoration:none;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-columns button:hover {
    background:#f0eaf3;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-columns button:focus-visible {
    outline:2px solid #00b978;outline-offset:-2px;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-player {
    min-height:48px;padding:7px 3px;border-bottom:1px solid #ece7ef;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-name {
    font-size:12px;min-width:0;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-gw-average,
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-gw-points,
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-fraction,
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-percent {
    min-width:0;justify-self:stretch;text-align:center;
    font-weight:850;font-size:12px;
    font-variant-numeric:tabular-nums;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-gw-average {
    color:#087d56;
  }
}


/* v0.98.83: spread Classic Captaincy numeric columns evenly across desktop cards. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-columns,
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-player {
    /* Same seven tracks for headings and player values; reserve only a compact
       name area and distribute the remaining width evenly over all four stats. */
    grid-template-columns:24px 36px minmax(92px,1.45fr) repeat(4,minmax(0,1fr))!important;
    column-gap:8px!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-columns button,
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-gw-average,
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-gw-points,
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-fraction,
  body:not(.fpl-theme) .captaincy-card.captaincy-desktop-average .captaincy-percent {
    justify-self:stretch!important;
    text-align:center!important;
  }
}


/* Desktop Classic selected-team panel v0.98.88.
   Match the compact mobile reference hierarchy without altering phones:
   team heading -> rivals/close -> GW context -> official score -> ranks -> pitch. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .desktop-table-team {
    border-radius:14px!important;
    padding:12px!important;
  }
  body:not(.fpl-theme) .desktop-table-team>h2 {
    font-size:19px!important;
    line-height:1.2!important;
    font-weight:850!important;
    margin:0 0 12px!important;
    text-align:left!important;
  }
  body:not(.fpl-theme) .desktop-table-team .league-expanded {
    display:block!important;
    min-width:0!important;
    padding:10px!important;
    background:#f8f5fa!important;
    border:1px solid #e5dce9;
    border-radius:12px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 44px!important;
    grid-template-rows:auto auto!important;
    gap:8px 12px!important;
    width:100%!important;
    align-items:center!important;
    margin:0 0 8px!important;
    padding:4px 3px 8px!important;
    min-width:0!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-checkbox-label {
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    justify-self:start!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:8px 9px!important;
    border:1px solid #e0d5e6!important;
    background:#fff!important;
    border-radius:10px!important;
    font-size:13px!important;
    font-weight:550!important;
    color:#37003c!important;
    white-space:normal!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-checkbox-label input {
    flex:0 0 21px!important;
    width:21px!important;
    height:21px!important;
    margin:0!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-full {
    display:inline!important;
    font-size:13px!important;
    line-height:1.3!important;
    font-weight:550!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked,
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-compact {
    display:none!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .league-squad-close {
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-financial-header {
    position:static!important;
    left:auto!important;
    grid-column:1/-1!important;
    grid-row:2!important;
    min-width:0!important;
    justify-content:center!important;
    margin:0!important;
    padding:5px 3px 0!important;
    border-top:1px solid #e7dfeb!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-gw-title {
    font-size:12px!important;
    line-height:1.3!important;
    margin:0!important;
    justify-content:center!important;
    text-align:center!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-manager-name {
    font-size:10px!important;
    margin-top:3px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-table-squad-nav {
    margin:6px 0 10px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel {
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    overflow:hidden!important;
    border-radius:12px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.pitch-summary {
    order:0!important;
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:11px 12px!important;
    background:#effaf4!important;
    font-size:11px!important;
    color:#4c7263!important;
    border-bottom:1px solid #dceee4!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.classic-rank-strip {
    order:1!important;
    width:100%!important;
    margin:0!important;
    padding:11px 10px!important;
    box-sizing:border-box!important;
    background:#effaf4!important;
    border:0!important;
    border-bottom:1px solid #c9e8d7!important;
    border-radius:0!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr)!important;
    gap:7px!important;
    box-shadow:none!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.classic-rank-strip .classic-rank-label {
    font-size:9px!important;
    line-height:1.25!important;
    white-space:normal!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.classic-rank-strip .classic-rank-value {
    font-size:clamp(14px,1.18vw,18px)!important;
    white-space:nowrap!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.classic-rank-strip .classic-rank-change {
    font-size:clamp(11px,1vw,15px)!important;
    white-space:normal!important;
    text-align:right!important;
    align-items:flex-end!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.classic-rank-strip .classic-rank-change small {
    font-size:8px!important;
    white-space:normal!important;
    line-height:1.25!important;
    text-align:right!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.football-field {
    order:2!important;
    width:auto!important;
    max-width:100%!important;
    margin:8px!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.bench-area {
    order:3!important;
    min-width:0!important;
  }
}


/* v0.98.89 — desktop Classic squad header follows reference screenshot.
   Rivals left | team + chip + manager centred | close right; navigation next row. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .desktop-table-team>h2 {
    display:none!important;
  }
  body:not(.fpl-theme) .desktop-table-team .league-expanded {
    padding:10px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar {
    display:grid!important;
    grid-template-columns:minmax(79px,.8fr) minmax(0,2.4fr) 44px!important;
    grid-template-rows:auto!important;
    column-gap:7px!important;
    align-items:center!important;
    padding:2px 0 8px!important;
    margin:0 0 3px!important;
    border-bottom:1px solid #e6dce9!important;
    min-height:55px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-checkbox-label {
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    align-items:flex-start!important;
    align-self:center!important;
    justify-self:start!important;
    gap:5px!important;
    background:transparent!important;
    padding:2px 0!important;
    border:0!important;
    border-radius:0!important;
    min-height:0!important;
    max-width:100%!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-checkbox-label input {
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    flex:0 0 25px!important;
    margin:0!important;
    align-self:flex-start!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-full,
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-compact {
    display:none!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked {
    display:grid!important;
    grid-template-columns:max-content max-content!important;
    grid-template-rows:auto auto!important;
    column-gap:3px!important;
    row-gap:1px!important;
    align-items:baseline!important;
    justify-items:start!important;
    font-size:10px!important;
    line-height:1.15!important;
    white-space:normal!important;
    min-width:0!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked .rivals-line {
    font-size:10px!important;
    line-height:1.16!important;
    font-weight:500!important;
    color:#6f6276!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked .rivals-line:first-child {
    grid-row:1!important;grid-column:1/-1!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked .rivals-line.rivals-emphasis {
    grid-row:2!important;grid-column:1!important;
    font-weight:850!important;color:#37003c!important;
    white-space:nowrap!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked .rivals-line:last-child {
    grid-row:2!important;grid-column:2!important;
    white-space:nowrap!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-financial-header {
    position:static!important;
    left:auto!important;
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
    justify-self:stretch!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
    width:100%!important;
    min-width:0!important;
    text-align:center!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-financial-title {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    width:100%!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-gw-title {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:4px 7px!important;
    margin:0!important;
    font-size:clamp(11px,1vw,16px)!important;
    line-height:1.2!important;
    font-weight:900!important;
    text-align:center!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .gw-chip {
    display:inline-flex!important;
    align-items:center!important;
    font-size:10px!important;
    line-height:1.2!important;
    padding:5px 8px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-manager-name {
    font-size:11px!important;
    color:#907d97!important;
    margin:0!important;
    text-align:center!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .league-squad-close {
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    flex:none!important;
    width:44px!important;
    height:44px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-table-squad-nav {
    margin:6px 0 11px!important;
    padding:6px 10px!important;
  }
}


/* v0.98.90 desktop Classic squad — screenshot hierarchy and chip placement.
   Keep the left Rivals control compact; centre the large team title independently
   from the fixed close button and move the chip into the GW score strip. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar {
    grid-template-columns:minmax(82px,1fr) minmax(0,2.5fr) minmax(44px,1fr)!important;
    column-gap:5px!important;
    min-height:62px!important;
    padding:2px 0 8px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-checkbox-label {
    align-self:start!important;
    justify-self:start!important;
    width:auto!important;
    max-width:100%!important;
    gap:5px!important;
    margin:0!important;
    padding:4px 0!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-checkbox-label input {
    flex:0 0 24px!important;
    width:24px!important;
    height:24px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked {
    font-size:10px!important;
    white-space:normal!important;
    align-self:center!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-financial-header {
    grid-column:2!important;
    justify-self:center!important;
    width:100%!important;
    max-width:100%!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-gw-title {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    font-size:clamp(18px,1.85vw,29px)!important;
    font-weight:950!important;
    letter-spacing:-.035em!important;
    line-height:1.13!important;
    text-align:center!important;
    overflow-wrap:anywhere!important;
    margin:0!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-manager-name {
    font-size:11px!important;
    margin-top:5px!important;
    color:#917d97!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .league-squad-close {
    grid-column:3!important;
    justify-self:end!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.pitch-summary {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:4px 10px!important;
    min-height:39px!important;
    line-height:1.3!important;
  }
  body:not(.fpl-theme) .desktop-table-team .pitch-panel>.pitch-summary .classic-score-chip {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
    font-size:10px!important;
    font-weight:850!important;
    line-height:1.15!important;
    padding:5px 9px!important;
    margin:0!important;
    border-radius:6px!important;
  }
}


/* v0.98.91 — prevent desktop Rivals checkbox and label overlap at narrow
   desktop-side-panel widths. Give the control its own reserved track. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar {
    display:grid!important;
    grid-template-columns:132px minmax(0,1fr) 44px!important;
    column-gap:8px!important;
    align-items:center!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-checkbox-label {
    box-sizing:border-box!important;
    grid-column:1!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:25px minmax(0,1fr)!important;
    align-items:center!important;
    justify-self:stretch!important;
    align-self:center!important;
    width:132px!important;
    min-width:0!important;
    max-width:132px!important;
    gap:8px!important;
    padding:6px 0!important;
    margin:0!important;
    overflow:visible!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-checkbox-label input {
    grid-column:1!important;
    position:static!important;
    display:block!important;
    flex:none!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    margin:0!important;
    align-self:center!important;
    justify-self:center!important;
    accent-color:#37003c;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked {
    grid-column:2!important;
    position:static!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:2px!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:0!important;
    margin:0!important;
    white-space:normal!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked .rivals-line {
    display:block!important;
    position:static!important;
    width:auto!important;
    max-width:100%!important;
    grid-column:auto!important;
    grid-row:auto!important;
    line-height:1.17!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-label-stacked .rivals-emphasis {
    font-weight:850!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-financial-header {
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-gw-title {
    font-size:clamp(15px,1.45vw,23px)!important;
    line-height:1.15!important;
    letter-spacing:-.025em!important;
    overflow-wrap:anywhere!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .league-squad-close {
    grid-column:3!important;
    grid-row:1!important;
  }
}


/* v0.98.92: centre Classic team title in the whole desktop squad panel;
   financial deadline values above Chips in the right column with matching
   Transfers-style purple headings. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar {
    grid-template-columns:minmax(120px,1fr) minmax(0,2fr) minmax(120px,1fr)!important;
    column-gap:5px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .rivals-checkbox-label {
    width:120px!important;
    max-width:120px!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    gap:6px!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-financial-header {
    justify-self:stretch!important;
    width:100%!important;
    grid-column:2!important;
    margin:0!important;
    padding:0!important;
    left:auto!important;
    transform:none!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-financial-title {
    align-items:center!important;
    width:100%!important;
    text-align:center!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-gw-title {
    display:block!important;
    width:100%!important;
    font-size:clamp(15px,1.4vw,22px)!important;
    text-align:center!important;
    overflow-wrap:anywhere!important;
    line-height:1.18!important;
    margin:0!important;
  }
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .squad-manager-name {
    display:block!important;
    width:100%!important;
    text-align:center!important;
  }
  body:not(.fpl-theme) .desktop-table-extras .desktop-squad-finances,
  body:not(.fpl-theme) .desktop-table-extras .classic-chip-inventory,
  body:not(.fpl-theme) .desktop-table-extras .classic-weekly-transfers {
    margin:0 0 12px!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid #ded4e5!important;
    border-radius:10px!important;
    background:#fff!important;
    min-width:0!important;
  }
  body:not(.fpl-theme) .desktop-table-extras .desktop-extras-heading,
  body:not(.fpl-theme) .desktop-table-extras .classic-chip-inventory>h4 {
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    box-sizing:border-box!important;
    width:100%!important;
    margin:0!important;
    padding:13px 14px!important;
    background:#37003c!important;
    border:0!important;
    border-radius:0!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:850!important;
    letter-spacing:.09em!important;
    line-height:1.25!important;
    text-transform:uppercase!important;
  }
  body:not(.fpl-theme) .desktop-table-extras .desktop-finances-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    padding:13px!important;
    min-width:0!important;
  }
  body:not(.fpl-theme) .desktop-table-extras .desktop-finances-grid>div {
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    min-width:0!important;
    padding:13px 11px!important;
    background:#f8f5fa!important;
    border:1px solid #e8e0eb!important;
    border-radius:9px!important;
  }
  body:not(.fpl-theme) .desktop-table-extras .desktop-finances-grid small {
    font-size:10px!important;
    font-weight:750!important;
    line-height:1.3!important;
    color:#74677a!important;
    overflow-wrap:anywhere!important;
  }
  body:not(.fpl-theme) .desktop-table-extras .desktop-finances-grid strong {
    font-size:clamp(17px,1.4vw,22px)!important;
    font-weight:900!important;
    line-height:1.15!important;
    color:#37003c!important;
    font-variant-numeric:tabular-nums!important;
  }
  body:not(.fpl-theme) .desktop-table-extras .classic-chip-inventory>.chip-groups,
  body:not(.fpl-theme) .desktop-table-extras .classic-chip-inventory>p {
    margin:12px!important;
  }
  body:not(.fpl-theme) .desktop-table-extras .classic-weekly-transfers>.weekly-moves-head {
    border-radius:0!important;
  }
}


/* v0.98.93 — shared Transfers-style purple headings and consistent desktop
   Classic navigation arrows, based on the supplied 40px white chevron button. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .desktop-table-extras .desktop-squad-finances,
  body:not(.fpl-theme) .desktop-table-extras .classic-chip-inventory,
  body:not(.fpl-theme) .desktop-table-extras .classic-weekly-transfers {
    border:1px solid #ded4e5!important;
    border-radius:12px!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0 0 12px!important;
    background:#fff!important;
  }
  body:not(.fpl-theme) .desktop-table-extras :is(
    .desktop-squad-finances > .desktop-extras-heading,
    .classic-chip-inventory > h4,
    .classic-weekly-transfers > .weekly-moves-head
  ) {
    display:flex!important;
    flex-direction:row!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:10px!important;
    box-sizing:border-box!important;
    min-height:44px!important;
    width:100%!important;
    margin:0!important;
    padding:13px 14px!important;
    background:#37003c!important;
    color:#fff!important;
    border:0!important;
    border-radius:0!important;
    font-size:14px!important;
    font-weight:850!important;
    letter-spacing:normal!important;
    line-height:1.25!important;
  }
  body:not(.fpl-theme) .desktop-table-extras :is(
    .desktop-squad-finances > .desktop-extras-heading,
    .classic-chip-inventory > h4
  ) > strong {
    color:#fff!important;
    font-size:14px!important;
    line-height:1.25!important;
    letter-spacing:.09em!important;
    font-weight:850!important;
    white-space:nowrap!important;
  }
  body:not(.fpl-theme) .desktop-table-extras :is(
    .desktop-squad-finances > .desktop-extras-heading,
    .classic-chip-inventory > h4
  ) > span {
    color:#fff!important;
    font-size:11px!important;
    font-weight:550!important;
    letter-spacing:.01em!important;
    line-height:1.25!important;
    text-transform:none!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
  body:not(.fpl-theme) .desktop-table-extras .classic-weekly-transfers > .weekly-moves-head > strong {
    font-size:14px!important;
    letter-spacing:.09em!important;
  }
  /* Same physical button and chevron for every desktop Classic GW navigator. */
  body:not(.fpl-theme) :is(
    .classic-table-squad-nav > button,
    .classic-table-gw-nav-arrows > button,
    .weekly-moves-gw > .weekly-gw-arrow,
    .week-nav > button
  ) {
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 40px!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    padding:0!important;
    margin:0!important;
    background:#fff!important;
    color:#37003c!important;
    border:1px solid #d8c9dd!important;
    border-radius:10px!important;
    box-shadow:none!important;
    cursor:pointer!important;
    transition:background-color .15s,border-color .15s!important;
  }
  body:not(.fpl-theme) :is(
    .classic-table-squad-nav > button,
    .classic-table-gw-nav-arrows > button
  ) {
    font-size:0!important;
    line-height:0!important;
  }
  body:not(.fpl-theme) :is(
    .classic-table-squad-nav > button,
    .classic-table-gw-nav-arrows > button
  )::before {
    content:""!important;
    display:block!important;
    flex:0 0 11px!important;
    width:11px!important;
    height:11px!important;
    border-left:3px solid currentColor!important;
    border-bottom:3px solid currentColor!important;
    transform:translateX(2px) rotate(45deg)!important;
    border-radius:1px!important;
  }
  body:not(.fpl-theme) :is(
    .classic-table-squad-nav > button:last-child,
    .classic-table-gw-nav-arrows > button:last-child
  )::before {
    transform:translateX(-2px) rotate(225deg)!important;
  }
  body:not(.fpl-theme) :is(
    .weekly-moves-gw > .weekly-gw-arrow,
    .week-nav > button
  ) svg.week-chevron {
    display:block!important;
    width:21px!important;
    height:21px!important;
    flex:0 0 21px!important;
    stroke:currentColor!important;
    stroke-width:2.8!important;
    fill:none!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  body:not(.fpl-theme) :is(
    .classic-table-squad-nav > button,
    .classic-table-gw-nav-arrows > button,
    .weekly-moves-gw > .weekly-gw-arrow,
    .week-nav > button
  ):not(:disabled):hover {
    background:#f6eff8!important;
    border-color:#b9a4c1!important;
  }
  body:not(.fpl-theme) :is(
    .classic-table-squad-nav > button,
    .classic-table-gw-nav-arrows > button,
    .weekly-moves-gw > .weekly-gw-arrow,
    .week-nav > button
  ):disabled {
    background:#eee9f0!important;
    border-color:#ded8e2!important;
    color:#a9a0b0!important;
    opacity:.55!important;
    cursor:not-allowed!important;
  }
  body:not(.fpl-theme) :is(
    .classic-table-squad-nav > button,
    .classic-table-gw-nav-arrows > button,
    .weekly-moves-gw > .weekly-gw-arrow,
    .week-nav > button
  ):focus-visible {
    outline:2px solid #37003c!important;
    outline-offset:2px!important;
  }
  body:not(.fpl-theme) .classic-table-squad-nav {
    grid-template-columns:40px minmax(0,1fr) 40px!important;
    align-items:center!important;
  }
}


/* v0.98.94 — consistent chevron controls on desktop AND mobile Classic.
   Only gameweek navigation is affected, never primary actions or close buttons. */
body:not(.fpl-theme) :is(
  .classic-table-gw-nav-arrows > button,
  .classic-table-squad-nav > button,
  .weekly-moves-gw > button.weekly-gw-arrow,
  .week-nav > button
) {
  box-sizing:border-box!important;
  display:inline-flex!important;
  flex:0 0 40px!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d9cbdc!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#37003c!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body:not(.fpl-theme) :is(.classic-table-gw-nav-arrows > button,.classic-table-squad-nav > button) {
  font-size:0!important;
  line-height:0!important;
}
body:not(.fpl-theme) :is(.classic-table-gw-nav-arrows > button,.classic-table-squad-nav > button)::before {
  content:""!important;
  box-sizing:border-box!important;
  display:block!important;
  flex:0 0 11px!important;
  width:11px!important;
  height:11px!important;
  border-left:3px solid currentColor!important;
  border-bottom:3px solid currentColor!important;
  border-radius:1px!important;
  transform:translateX(2px) rotate(45deg)!important;
}
body:not(.fpl-theme) :is(.classic-table-gw-nav-arrows > button:last-child,.classic-table-squad-nav > button:last-child)::before {
  transform:translateX(-2px) rotate(225deg)!important;
}
body:not(.fpl-theme) :is(.weekly-moves-gw > button.weekly-gw-arrow,.week-nav > button) svg.week-chevron {
  display:block!important;
  width:21px!important;
  height:21px!important;
  flex:0 0 21px!important;
  stroke:currentColor!important;
  stroke-width:2.8!important;
  fill:none!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body:not(.fpl-theme) :is(
  .classic-table-gw-nav-arrows > button,
  .classic-table-squad-nav > button,
  .weekly-moves-gw > button.weekly-gw-arrow,
  .week-nav > button
):not(:disabled):hover {
  background:#f6eff8!important;
  border-color:#baa9c3!important;
}
body:not(.fpl-theme) :is(
  .classic-table-gw-nav-arrows > button,
  .classic-table-squad-nav > button,
  .weekly-moves-gw > button.weekly-gw-arrow,
  .week-nav > button
):disabled {
  background:#eee9f0!important;
  border-color:#ded8e2!important;
  color:#a9a0b0!important;
  opacity:.55!important;
  cursor:not-allowed!important;
}
body:not(.fpl-theme) :is(
  .classic-table-gw-nav-arrows > button,
  .classic-table-squad-nav > button,
  .weekly-moves-gw > button.weekly-gw-arrow,
  .week-nav > button
):focus-visible {
  outline:2px solid #37003c!important;
  outline-offset:2px!important;
}
body:not(.fpl-theme) .classic-table-squad-nav {
  grid-template-columns:40px minmax(0,1fr) 40px!important;
}
@media (max-width:1099px), (hover:none), (pointer:coarse) {
  body:not(.fpl-theme) .classic-table-gw-nav-arrows {
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }
}

/* v0.98.98: Hide the Classic selected-squad close X on desktop only. */
@media (min-width:1100px) and (hover:hover) and (pointer:fine) {
  body:not(.fpl-theme) .desktop-table-team .classic-squad-topbar .league-squad-close {
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* Price Watch uses the same red under-one-hour warning as the GW deadline. */
body:not(.fpl-theme) .price-premium .deadline.price-premium-timing.is-urgent .price-premium-countdown.clock {
 color:#ff536b!important;
}
