/*
Theme Name: TransferMoves Editorial v9.05.1
Description: SEO recovery release: canonical news, player and team visibility aligned with WordPress sitemaps.
Version: 9.05.1
*/

:root {
  --bg-void: #0B0E13;
  --bg-panel: #12161D;
  --bg-panel-hover: #171C24;
  --hairline: #232833;
  --flap-amber: #E8A33D;
  --flap-amber-dim: #8A6423;
  --live-green: #35D07F;
  --live-green-bg: #12261C;
  --confirmed-orange: #FF6B4A;
  --confirmed-orange-bg: #2A160F;
  --rumour-gray: #6B7280;
  --text-primary: #E9EBEF;
  --text-secondary: #8A8F98;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-sans: 'Inter', sans-serif;
}

/* v8.86 — compact desktop market hub and scannable two-column live feed.
   Mobile keeps the approved v8.85 layout. */
@media (min-width:901px) {
  .home .tm-home-primary .tm-post-window-hub {
    display:block;
    margin:0 0 22px;
    padding:18px 20px 19px;
    border-radius:20px;
  }
  .home .tm-home-primary .tm-post-window-heading {
    display:grid;
    grid-template-columns:minmax(210px,280px) minmax(0,1fr);
    align-items:center;
    gap:20px;
    max-width:none;
    margin:0 0 14px;
    padding:0 2px;
    text-align:left;
  }
  .home .tm-home-primary .tm-post-window-heading h2 {
    margin:0;
    font-size:26px;
    line-height:1.05;
    white-space:nowrap;
  }
  .home .tm-home-primary .tm-post-window-heading p {
    max-width:none;
    margin:0;
    padding-left:20px;
    border-left:1px solid rgba(96,218,250,.2);
    font-size:13px;
    line-height:1.45;
    text-align:left;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions > a,
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions > a:not(.tm-post-window-card-tracker) {
    display:grid;
    grid-template-columns:40px minmax(0,1fr) 16px;
    grid-template-areas:"icon title arrow";
    align-items:center;
    gap:10px;
    min-height:74px;
    padding:11px 13px;
    border-radius:15px;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions .tm-hub-card-icon,
  .home .tm-home-primary .tm-post-window-card-briefing .tm-hub-card-icon,
  .home .tm-home-primary .tm-post-window-card-deals .tm-hub-card-icon {
    grid-area:icon;
    width:40px;
    height:40px;
    flex-basis:40px;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions strong {
    grid-area:title;
    font-size:13px;
    line-height:1.2;
    text-align:left;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions .tm-post-window-arrow {
    display:block;
    grid-area:arrow;
    color:#60dafa;
    font-size:17px;
  }
  .home .tm-home-primary .tm-january-watch-home {
    margin-top:16px;
  }

  .home .tm-feed-intro {
    margin-bottom:12px;
  }
  .home .tm-status-filters {
    padding:8px;
    border-radius:13px;
  }
  .home .tm-status-filters .tm-chip,
  .home .tm-feed-filter-group .tm-chip,
  .home .tm-feed-tool-group .tm-chip {
    min-height:42px;
  }
  .home #tm-feed {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .home #tm-feed .tm-row {
    grid-template-columns:46px minmax(0,1fr) 18px;
    grid-template-areas:"photo main link" "time main link";
    align-items:center;
    gap:3px 11px;
    min-height:106px;
    margin:0;
    padding:12px;
    border:1px solid #263241;
    border-left:3px solid var(--flap-amber-dim);
    border-radius:14px;
    background:#111821;
  }
  .home #tm-feed .tm-row:hover {
    border-color:#3b4a5d;
    border-left-color:var(--flap-amber);
    background:#151e29;
  }
  .home #tm-feed .tm-row-time {
    grid-area:time;
    justify-self:center;
    font-size:9px;
  }
  .home #tm-feed .tm-row > .tm-row-photo,
  .home #tm-feed .tm-row-photo-link { grid-area:photo; }
  .home #tm-feed .tm-row-photo { width:46px; height:46px; }
  .home #tm-feed .tm-row-main { grid-area:main; }
  .home #tm-feed .tm-row-link {
    grid-area:link;
    align-self:center;
    font-size:21px;
  }
  .home #tm-feed .tm-row-player {
    margin-bottom:3px;
    font-size:13px;
  }
  .home #tm-feed .tm-row-player-cta {
    margin-bottom:4px;
    padding:2px 5px;
    font-size:7px;
  }
  .home #tm-feed .tm-row-headline {
    display:-webkit-box;
    margin-bottom:5px;
    overflow:hidden;
    font-size:11px;
    line-height:1.35;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .home #tm-feed .tm-row-source {
    gap:4px;
    font-size:9px;
    line-height:1.25;
  }
  .home #tm-feed .tm-status-badge {
    margin-top:5px;
    font-size:7px;
  }
  .home #tm-feed > .tm-social-cta,
  .home #tm-feed > .tm-empty,
  .home #tm-feed > .tm-loading {
    grid-column:1 / -1;
  }
}

@media (min-width:901px) and (max-width:1080px) {
  .home .tm-home-primary .tm-post-window-heading {
    grid-template-columns:230px minmax(0,1fr);
  }
  .home .tm-home-primary .tm-post-window-heading h2 { white-space:normal; }
  .home #tm-feed { grid-template-columns:1fr; }
}

/* v8.84 — reporting momentum and official completion are separate facts. */
.tm-story-verification {
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:12px 0 0;
  padding:11px 14px;
  border:1px solid var(--hairline);
  border-radius:12px;
  color:var(--text-secondary);
  font:500 13px/1.4 var(--font-sans);
}
.tm-story-verification strong,
.tm-saga-confirmation strong { color:var(--text-primary); }
.tm-saga-confirmation { margin-top:5px !important; color:var(--text-secondary); }

/* v8.76 — visible editorial responsibility and added-value context. */
.tm-editorial-byline { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin:-8px 0 18px; color:var(--text-secondary); font:600 10px/1.45 var(--font-mono); }
.tm-editorial-byline > span:first-child { color:var(--text-primary); }
.tm-editorial-byline a { color:var(--flap-amber); text-decoration:none; }
.tm-editorial-byline a:hover { text-decoration:underline; }
.tm-report-context { margin:20px 0; padding:15px 16px; border:1px solid rgba(232,163,61,.28); border-radius:10px; background:rgba(232,163,61,.055); }
.tm-report-context strong { display:block; margin-bottom:6px; color:var(--flap-amber); font:700 10px/1.2 var(--font-mono); letter-spacing:.06em; text-transform:uppercase; }
.tm-report-context p { margin:0; color:var(--text-secondary); font:500 12px/1.55 var(--font-sans); }
.tm-report-context a { display:inline-block; margin-top:9px; color:var(--text-primary); font:700 10px/1.3 var(--font-mono); text-decoration:none; }
.tm-report-context a:hover { color:var(--flap-amber); }

/* v8.52 — local transfer intelligence; no external or AI requests. */
.tm-intelligence-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:16px; }
.tm-intelligence-heading span { color:var(--flap-amber); font:700 10px/1.2 var(--font-mono); letter-spacing:.09em; text-transform:uppercase; }
.tm-intelligence-heading h2 { margin:4px 0 0; font:700 22px/1.15 var(--font-mono); text-transform:uppercase; }
.tm-intelligence-heading p { max-width:390px; margin:0; color:var(--text-secondary); font:500 12px/1.5 var(--font-sans); text-align:right; }
.tm-intelligence-heading p a { color:var(--flap-amber); font-weight:700; text-decoration:none; white-space:nowrap; }
.tm-player-sagas,.tm-team-intelligence,.tm-top-stories { margin:24px 0; padding:20px; border:1px solid var(--hairline); border-radius:12px; background:var(--bg-panel); }
.tm-saga-grid,.tm-top-stories-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.tm-saga-card,.tm-top-story { min-width:0; padding:15px; border:1px solid var(--hairline); border-radius:10px; background:var(--bg-void); }
.tm-saga-card-top { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.tm-saga-card-top time { color:var(--text-secondary); font:600 9px/1.2 var(--font-mono); text-transform:uppercase; }
.tm-saga-card h3 { margin:13px 0 10px; font:700 15px/1.3 var(--font-mono); }
.tm-saga-card h3 span { color:var(--flap-amber); }
.tm-saga-evolution { display:flex; flex-wrap:wrap; gap:5px; }
.tm-saga-evolution span { padding:4px 6px; border-radius:4px; background:#0b1d35; color:#60a5fa; font:700 8px/1 var(--font-mono); text-transform:uppercase; }
.tm-saga-evolution .is-advanced { color:#f59e0b; background:#251b08; }
.tm-saga-evolution .is-done { color:var(--live-green); background:var(--live-green-bg); }
.tm-saga-card p { margin:10px 0 5px; color:var(--text-secondary); font:600 9px/1.3 var(--font-mono); text-transform:uppercase; }
.tm-saga-card > a { display:block; color:var(--text-primary); font:600 12px/1.4 var(--font-sans); text-decoration:none; }
.tm-saga-card > a:hover { color:var(--flap-amber); }
.tm-similar-players h2 { margin:4px 0 10px; font:700 16px/1.2 var(--font-mono); text-transform:uppercase; }
.tm-similar-players > a { display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:9px; padding:9px 0; border-top:1px solid var(--hairline); color:inherit; text-decoration:none; }
.tm-similar-players img,.tm-similar-fallback { width:34px; height:34px; border-radius:50%; object-fit:cover; }
.tm-similar-fallback { display:grid; place-items:center; background:var(--bg-void); color:var(--flap-amber); font:700 9px/1 var(--font-mono); }
.tm-similar-players > a span { min-width:0; }
.tm-similar-players strong,.tm-similar-players small { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tm-similar-players strong { font:700 12px/1.25 var(--font-sans); }
.tm-similar-players small { margin-top:2px; color:var(--text-secondary); font:500 9px/1.2 var(--font-sans); }
.tm-similar-players em { color:var(--flap-amber); font:700 9px/1 var(--font-mono); font-style:normal; }
.tm-team-intelligence-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.tm-team-intel-card { min-width:0; padding:14px; border:1px solid var(--hairline); border-radius:10px; background:var(--bg-void); }
.tm-team-intel-card h3 { margin:0; font:700 14px/1.2 var(--font-mono); text-transform:uppercase; }
.tm-team-intel-card > p { min-height:32px; margin:6px 0 12px; color:var(--text-secondary); font:500 10px/1.4 var(--font-sans); }
.tm-team-intel-list a { display:flex; justify-content:space-between; gap:8px; padding:8px 0; border-top:1px solid var(--hairline); color:inherit; text-decoration:none; }
.tm-team-intel-list strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:600 11px/1.3 var(--font-sans); }
.tm-team-intel-list small,.tm-intel-empty { color:var(--text-secondary); font:600 8px/1.3 var(--font-mono); text-transform:uppercase; white-space:nowrap; }
.tm-team-filter-advanced > span { color:#f59e0b; background:#251b08; }
.tm-top-stories { border-color:rgba(245,158,11,.45); }
.tm-top-story { display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:center; gap:11px; color:inherit; text-decoration:none; }
.tm-top-story img,.tm-top-story-fallback { width:52px; height:52px; border-radius:50%; object-fit:cover; }
.tm-top-story-fallback { display:grid; place-items:center; color:var(--flap-amber); border:1px solid var(--hairline); font:700 10px/1 var(--font-mono); }
.tm-top-story-copy { min-width:0; }
.tm-top-story-copy strong,.tm-top-story-copy small,.tm-top-story-copy em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tm-top-story-copy strong { font:700 14px/1.3 var(--font-sans); }
.tm-top-story-copy small { margin-top:3px; color:var(--text-secondary); font:500 10px/1.3 var(--font-sans); }
.tm-top-story-copy em { margin-top:5px; color:var(--flap-amber); font:700 8px/1.2 var(--font-mono); font-style:normal; text-transform:uppercase; }
.tm-movesignal-meter { display:grid; grid-template-columns:auto auto; align-items:baseline; justify-content:center; min-width:64px; padding:8px 9px; border:1px solid rgba(53,208,127,.4); border-radius:9px; background:rgba(53,208,127,.07); color:var(--live-green); font-family:var(--font-mono); text-align:center; }
.tm-movesignal-meter b { font-size:20px; line-height:1; }
.tm-movesignal-meter small { font-size:8px; }
.tm-movesignal-meter em { grid-column:1/-1; margin-top:4px; color:var(--text-primary); font:700 8px/1 var(--font-mono); font-style:normal; letter-spacing:.05em; text-transform:uppercase; }
.tm-movesignal-meter-large { min-width:78px; padding:10px 12px; }
.tm-movesignal-meter-large b { font-size:26px; }
.tm-movesignal-inline { color:var(--live-green); font:700 9px/1.2 var(--font-mono); text-transform:uppercase; }
.tm-movesignal-explanation { margin:0 24px 22px; padding-top:14px; border-top:1px solid var(--hairline); color:var(--text-secondary); font:500 12px/1.55 var(--font-sans); }
.tm-movesignal-explanation strong { color:var(--text-primary); }
.home #tm-feed .tm-row.tm-initially-hidden { display:none; }
.tm-market-tools { margin-top:12px; border:1px solid var(--hairline); border-radius:10px; background:rgba(8,12,17,.46); }
.tm-market-tools summary { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 16px; cursor:pointer; list-style:none; }
.tm-market-tools summary::-webkit-details-marker { display:none; }
.tm-market-tools summary > span { min-width:0; }
.tm-market-tools summary b,.tm-market-tools summary small { display:block; }
.tm-market-tools summary b { font:700 12px/1.2 var(--font-mono); text-transform:uppercase; }
.tm-market-tools summary small { margin-top:4px; color:var(--text-secondary); font:500 10px/1.35 var(--font-sans); }
.tm-market-tools summary em { color:var(--flap-amber); font:700 9px/1.2 var(--font-mono); font-style:normal; text-transform:uppercase; white-space:nowrap; }
.tm-market-tools summary i { display:inline-grid; place-items:center; width:21px; height:21px; margin-left:7px; border:1px solid var(--flap-amber-dim); border-radius:50%; font-style:normal; }
.tm-market-tools[open] summary i { transform:rotate(45deg); }
.tm-market-tools-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; padding:0 12px 12px; }
.tm-market-tools-links a { display:grid; grid-template-columns:30px minmax(0,1fr); align-items:center; gap:0 9px; min-height:58px; padding:10px; border:1px solid var(--hairline); border-radius:8px; color:inherit; text-decoration:none; }
.tm-market-tools-links a:hover { border-color:var(--flap-amber-dim); background:rgba(232,163,61,.05); }
.tm-market-tools-links a > span { grid-row:1/3; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--bg-panel); color:var(--flap-amber); }
.tm-market-tools-links b { font:700 10px/1.25 var(--font-sans); }
.tm-market-tools-links small { color:var(--text-secondary); font:500 8px/1.25 var(--font-sans); }
.tm-radar-page { max-width:1180px; margin:0 auto; padding:34px 24px 70px; }
.tm-radar-hero { max-width:820px; margin-bottom:28px; }
.tm-radar-hero > span { color:var(--live-green); font:700 10px/1.2 var(--font-mono); letter-spacing:.1em; text-transform:uppercase; }
.tm-radar-hero h1 { margin:9px 0 12px; font:700 clamp(30px,5vw,54px)/1.05 var(--font-mono); text-transform:uppercase; }
.tm-radar-hero p { color:var(--text-secondary); font:500 15px/1.6 var(--font-sans); }
.tm-radar-method { margin:0 0 24px; padding:14px 16px; border:1px solid var(--hairline); border-radius:10px; color:var(--text-secondary); font:500 12px/1.5 var(--font-sans); }
.tm-radar-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.tm-radar-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:18px; border:1px solid var(--hairline); border-left:3px solid var(--live-green); border-radius:10px; background:var(--bg-panel); color:inherit; text-decoration:none; }
.tm-radar-card h2 { margin:0 0 6px; font:700 17px/1.25 var(--font-sans); }
.tm-radar-card p { margin:0; color:var(--text-secondary); font:500 12px/1.45 var(--font-sans); }
.tm-radar-card-meta { margin-top:10px; color:var(--flap-amber); font:700 9px/1.3 var(--font-mono); text-transform:uppercase; }
.tm-league-directory { margin:0 4px 36px; padding:20px; border:1px solid var(--hairline); border-radius:12px; background:var(--bg-panel); }
.tm-league-directory-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:14px; }
.tm-league-directory-head span { color:var(--flap-amber); font:700 9px/1.2 var(--font-mono); letter-spacing:.09em; text-transform:uppercase; }
.tm-league-directory-head h2 { margin:4px 0 0; font:700 20px/1.2 var(--font-mono); text-transform:uppercase; }
.tm-league-directory-head p { max-width:420px; margin:0; color:var(--text-secondary); font:500 12px/1.45 var(--font-sans); text-align:right; }
.tm-league-club-search { width:100%; min-height:42px; margin-bottom:14px; padding:10px 13px; border:1px solid var(--hairline); border-radius:9px; outline:0; background:var(--bg-void); color:var(--text-primary); font:500 13px/1.2 var(--font-sans); }
.tm-league-club-search:focus { border-color:var(--flap-amber-dim); box-shadow:0 0 0 2px rgba(232,163,61,.08); }
.tm-league-directory-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.tm-league-directory-club { display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:9px; min-width:0; min-height:58px; padding:9px 10px; border:1px solid var(--hairline); border-radius:9px; background:var(--bg-void); color:inherit; text-decoration:none; }
.tm-league-directory-club:hover { border-color:var(--flap-amber-dim); background:var(--bg-panel-hover); }
.tm-league-directory-club[hidden] { display:none; }
.tm-league-directory-club img,.tm-league-directory-fallback { width:34px; height:34px; border-radius:50%; object-fit:contain; }
.tm-league-directory-fallback { display:grid; place-items:center; background:var(--bg-panel); color:var(--flap-amber); font:700 10px/1 var(--font-mono); }
.tm-league-directory-club > span { min-width:0; }
.tm-league-directory-club strong,.tm-league-directory-club small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tm-league-directory-club strong { font:700 11px/1.25 var(--font-sans); }
.tm-league-directory-club small { margin-top:3px; color:var(--text-secondary); font:500 8px/1.2 var(--font-sans); }
.tm-league-directory-club b { color:var(--flap-amber); font:700 11px/1 var(--font-mono); }
.tm-league-directory-empty { margin:12px 0 0; color:var(--text-secondary); font:500 12px/1.4 var(--font-sans); }
.tm-story-intro { margin-bottom:20px; color:var(--text-primary); }
.tm-story-intro > :last-child { margin-bottom:0; }
.tm-source-updates { display:grid; gap:10px; margin-top:20px; }
.tm-source-updates > h2 { margin:0 0 2px; color:var(--flap-amber); font:700 12px/1.25 var(--font-mono); letter-spacing:.08em; text-transform:uppercase; }
.tm-source-update { position:relative; display:grid; grid-template-columns:27px minmax(0,1fr); gap:12px; padding:14px 16px; border:1px solid var(--hairline); border-left:3px solid var(--flap-amber-dim); border-radius:9px; background:var(--bg-panel); }
.tm-source-update-number { display:grid; place-items:center; width:27px; height:27px; border-radius:50%; background:rgba(232,163,61,.1); color:var(--flap-amber); font:700 10px/1 var(--font-mono); }
.tm-source-update > div { min-width:0; }
.tm-source-update p { margin:0; color:var(--text-primary); font-size:15px; line-height:1.6; }
.tm-source-update strong { color:var(--text-primary); }
.tm-team-intel-card { overflow:hidden; }
.tm-team-intel-card h3,.tm-team-intel-card > p,.tm-intel-empty { overflow-wrap:anywhere; word-break:normal; }
.tm-intel-empty { display:block; max-width:100%; white-space:normal; line-height:1.55; }
.tm-team-intel-list a { min-width:0; }
.tm-team-intel-list small { flex:0 0 auto; }

@media (max-width:900px) {
  .tm-top-stories { order:4; }
  .tm-home-sidebar > .tm-watchlist-card { display:grid; order:5; margin:0 12px 24px; padding:15px; }
  .tm-home-sidebar > .tm-watchlist-card p { margin:8px 0; }
  .tm-feed-intro { order:6; }
  .tm-new-updates { order:7; }
  main.tm-main { order:8; }
  .tm-load-more { order:9; }
  .tm-top-stories { margin:0 12px 24px; padding:15px; }
  .tm-top-stories-grid { grid-template-columns:1fr; }
  .tm-top-story:nth-child(n+4) { display:none; }
  .tm-team-intelligence-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tm-league-directory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .tm-intelligence-heading { display:block; }
  .tm-intelligence-heading h2 { font-size:18px; }
  .tm-intelligence-heading p { margin-top:7px; text-align:left; font-size:11px; }
  .tm-player-sagas,.tm-team-intelligence { margin:18px 12px; padding:14px; }
  .tm-saga-grid,.tm-team-intelligence-grid { grid-template-columns:1fr; }
  .tm-team-intel-card { padding:12px; }
  .tm-team-intel-card > p { min-height:0; }
  .tm-top-story { grid-template-columns:44px minmax(0,1fr); padding:11px; }
  .tm-top-story img,.tm-top-story-fallback { width:44px; height:44px; }
  .tm-top-story > .tm-status-badge { grid-column:2; justify-self:start; }
  .tm-top-story > .tm-movesignal-meter { grid-column:2; justify-self:start; }
  .tm-player-current-signal-heading { align-items:flex-start; }
  .tm-movesignal-explanation { margin:0 14px 16px; }
  .tm-radar-page { padding:24px 14px 50px; }
  .tm-radar-grid { grid-template-columns:1fr; }
  .tm-market-tools summary { padding:12px; }
  .tm-market-tools summary small { display:none; }
  .tm-market-tools-links { grid-template-columns:1fr; }
  .tm-source-updates { gap:8px; }
  .tm-source-update { grid-template-columns:23px minmax(0,1fr); gap:9px; padding:11px 12px; }
  .tm-source-update-number { width:23px; height:23px; font-size:8px; }
  .tm-source-update p { font-size:14px; line-height:1.55; }
  .tm-league-directory { margin:0 0 28px; padding:14px; }
  .tm-league-directory-head { display:block; }
  .tm-league-directory-head h2 { font-size:18px; }
  .tm-league-directory-head p { margin-top:7px; text-align:left; font-size:11px; }
  .tm-league-club-search { min-height:44px; font-size:16px; }
  .tm-league-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  .tm-league-directory-club { grid-template-columns:30px minmax(0,1fr); min-height:54px; padding:8px; }
  .tm-league-directory-club img,.tm-league-directory-fallback { width:30px; height:30px; }
  .tm-league-directory-club b { display:none; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
}

/* PageSpeed v8.42: le righe fuori dalla prima schermata non partecipano al
   rendering iniziale. L'altezza intrinseca evita qualsiasi salto di layout. */
.tm-main .tm-row:nth-of-type(n+9) {
  content-visibility: auto;
  contain-intrinsic-size: auto 92px;
}

.tm-player-season{margin:30px 0;padding:24px;border:1px solid var(--hairline);border-left:3px solid var(--flap-amber);border-radius:14px;background:var(--bg-panel)}
.tm-player-season-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.tm-player-season-heading span,.tm-player-stat-card span,.tm-player-stats-source{color:var(--text-secondary);font:600 11px/1.4 var(--font-mono);text-transform:uppercase;letter-spacing:.08em}
.tm-player-season-heading h2{margin-top:4px;font:700 22px/1.2 var(--font-mono);text-transform:uppercase}
.tm-player-season-heading>strong{color:var(--flap-amber);font:700 14px/1.3 var(--font-mono)}
.tm-player-season-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:-2px 0 18px}
.tm-player-season-tabs button{padding:7px 12px;border:1px solid var(--hairline);border-radius:999px;background:var(--bg-void);color:var(--text-secondary);font:700 12px/1 var(--font-mono);cursor:pointer}
.tm-player-season-tabs button[aria-selected="true"]{border-color:var(--flap-amber);color:var(--flap-amber);background:rgba(245,158,11,.08)}
.tm-player-season-panel[hidden]{display:none}
.tm-player-season-panel>h3{margin:0 0 12px;color:var(--text-primary);font:700 16px/1.2 var(--font-mono);text-transform:uppercase}
.tm-player-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}
.tm-player-stat-card{padding:15px 12px;border:1px solid var(--hairline);border-radius:10px;background:var(--bg-void)}
.tm-player-stat-card strong{display:block;margin-bottom:5px;color:var(--text-primary);font:700 24px/1 var(--font-mono)}
.tm-player-competition-list{border-top:1px solid var(--hairline)}
.tm-player-competition-row{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,90px);align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--hairline);font-size:13px;color:var(--text-secondary)}
.tm-player-competition-row>div{display:flex;align-items:center;gap:10px;color:var(--text-primary)}
.tm-player-competition-row img{object-fit:contain}
.tm-player-stats-source{display:block;margin-top:14px;text-transform:none;letter-spacing:0}
@media(max-width:720px){.tm-player-season{padding:18px 14px}.tm-player-stat-grid{grid-template-columns:repeat(3,1fr)}.tm-player-competition-row{grid-template-columns:1fr auto}.tm-player-competition-row span:nth-of-type(n+2){display:none}.tm-player-season-heading{align-items:flex-start;flex-direction:column}.tm-player-stat-card strong{font-size:20px}}

header.tm-header {
  position: relative;
  z-index: 10;
  background: var(--bg-void);
  border-bottom: 1px solid var(--hairline);
}

.tm-header-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.tm-wordmark-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tm-wordmark {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.tm-wordmark span.moves { color: var(--flap-amber); }

.tm-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm-header-watchlist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid var(--flap-amber-dim);
  border-radius: 18px;
  background: rgba(245, 158, 11, .07);
  color: var(--flap-amber);
  font: 700 11px/1 var(--font-mono);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.tm-header-watchlist:hover { border-color: var(--flap-amber); background: rgba(245, 158, 11, .12); }
.tm-header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(37, 211, 102, .52);
  border-radius: 18px;
  background: rgba(37, 211, 102, .08);
  color: #42df7b;
  font: 700 11px/1 var(--font-mono);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.tm-header-whatsapp:hover { border-color: #25d366; background: rgba(37, 211, 102, .14); }
.tm-whatsapp-mark {
  display: inline-grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 800 9px/1 var(--font-sans);
}
.tm-site-header .tm-wordmark-row { margin-bottom: 18px; }

@media (max-width: 480px) {
  .tm-header-actions { gap: 6px; }
  .tm-header-watchlist { width: 29px; height: 29px; padding: 0; justify-content: center; font-size: 0; }
  .tm-header-watchlist::before { content: '\2605'; font-size: 12px; }
  .tm-header-whatsapp { padding: 7px; }
  .tm-header-whatsapp-label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
  .tm-site-header .tm-header-inner { padding-right: 16px; padding-left: 16px; }
}

.tm-home-tagline {
  max-width: 650px;
  margin: -7px 0 15px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.55;
}

.tm-live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--live-green);
  text-transform: uppercase;
}

.tm-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live-green);
  animation: tm-pulse 1.6s ease-in-out infinite;
}

@keyframes tm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.tm-team-picker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-bottom: 16px;
}

.tm-chip {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.15s;
}

.tm-chip.active {
  color: var(--flap-amber);
  border-color: var(--flap-amber-dim);
  background: #1C1710;
}

.tm-chip-all {
  color: var(--flap-amber);
  border-color: var(--flap-amber-dim);
}

/* Larghezza fissa uguale per i due bottoni sopra le righe inline —
   "All teams →" e "Done Deals →" hanno testi di lunghezza diversa,
   senza questa regola le icone che li seguono partirebbero da punti
   diversi, disallineando le due righe */
.tm-inline-row .tm-chip-all,
.tm-inline-row .tm-chip-done {
  min-width: 140px;
  text-align: center;
  box-sizing: border-box;
}

.tm-page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px 16px;
}

.tm-count-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--flap-amber);
  border: 1px solid var(--flap-amber-dim);
  border-radius: 6px;
  padding: 6px 12px;
  background: #1C1710;
}

.tm-all-teams-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px 60px;
}

.tm-all-teams-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--flap-amber-dim);
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.15s, background 0.15s;
}
.tm-all-teams-item:hover {
  border-left-color: var(--flap-amber);
  background: var(--bg-panel-hover);
}

.tm-all-teams-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  min-width: 20px;
}

.tm-all-teams-crest {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  /* Sfondo chiaro sempre presente dietro ogni stemma — molti loghi
     (es. Juventus) sono prevalentemente neri/scuri e sparivano contro
     lo sfondo scuro del sito. */
  background: #E9EBEF;
  padding: 3px;
  flex-shrink: 0;
}
.tm-all-teams-crest-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--flap-amber);
}

.tm-all-teams-name {
  flex: 1;
  font-weight: 500;
}

.tm-all-teams-arrow {
  color: var(--text-secondary);
  font-size: 18px;
}

main.tm-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 8px 20px 60px;
}

.tm-trending {
  border-bottom: 1px solid var(--hairline);
  background: #0D1117;
}

.tm-trending-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
  padding: 10px 20px;
  overflow: hidden;
}

.tm-trending-label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: 0 0 auto;
  color: var(--flap-amber);
  font: 700 11px var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tm-trending-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  color: var(--flap-amber);
  text-decoration: none;
}
.tm-trending-heading b { font: inherit; }
.tm-trending-heading em {
  color: var(--text-secondary);
  font: 600 9px var(--font-mono);
  font-style: normal;
  letter-spacing: 0;
  white-space: nowrap;
}
.tm-trending-heading:hover em,
.tm-trending-heading:focus-visible em { color: var(--flap-amber); }
.tm-trending-label small {
  color: var(--text-secondary);
  font: 500 10px/1.3 var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.tm-trending-list {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  min-width: 0;
  padding: 1px 0;
  scrollbar-width: none;
}

.tm-trending-list::-webkit-scrollbar { display: none; }

.tm-trending-player {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--text-primary);
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.tm-trending-player:hover,
.tm-trending-player:focus-visible {
  color: var(--flap-amber);
  border-color: var(--flap-amber-dim);
}

.tm-trending-player small {
  color: var(--text-secondary);
  font: 500 9px var(--font-mono);
  text-transform: uppercase;
}

.tm-trending-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px 20px 70px;
}
.tm-trending-page-head { margin-bottom: 24px; }
.tm-trending-page-head a { color: var(--text-secondary); text-decoration: none; font: 500 11px var(--font-mono); }
.tm-trending-page-head h1 { margin: 22px 0 8px; font: 700 clamp(25px, 5vw, 38px)/1.1 var(--font-mono); text-transform: uppercase; }
.tm-trending-page-head p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.tm-trending-directory { display: grid; gap: 10px; }
.tm-trending-card { display: grid; grid-template-columns: 34px 58px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--bg-panel); color: var(--text-primary); text-decoration: none; }
.tm-trending-card:hover,.tm-trending-card:focus-visible { border-color: var(--flap-amber-dim); background: var(--bg-panel-hover); }
.tm-trending-rank { color: var(--flap-amber); font: 700 15px var(--font-mono); text-align: center; }
.tm-trending-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #0b0e13; }
.tm-trending-photo-placeholder { display: grid; place-items: center; color: var(--flap-amber); border: 1px solid var(--hairline); font: 700 18px var(--font-mono); }
.tm-trending-info { min-width: 0; }
.tm-trending-info strong { display: block; margin-bottom: 5px; font: 700 15px var(--font-mono); }
.tm-trending-info span { display: block; overflow: hidden; color: var(--text-secondary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.tm-trending-meta { display: grid; justify-items: end; gap: 7px; }
.tm-trending-meta small { color: var(--text-secondary); font: 600 9px var(--font-mono); text-transform: uppercase; }
.tm-trending-status { padding: 4px 7px; border-radius: 4px; color: #66a5ff; background: #0b1d35; font: 700 9px var(--font-mono); text-transform: uppercase; }
.tm-trending-status.advanced { color: var(--flap-amber); background: #251b08; }
.tm-trending-status.done { color: var(--live-green); background: var(--live-green-bg); }
@media(max-width:560px){.tm-trending-card{grid-template-columns:26px 46px 1fr;gap:10px;padding:12px}.tm-trending-photo{width:44px;height:44px}.tm-trending-meta{grid-column:3;grid-row:2;display:flex;justify-content:flex-start;align-items:center}.tm-trending-info strong{font-size:14px}}

.tm-feed-intro {
  max-width: 780px;
  margin: 0 auto;
  padding: 22px 20px 4px;
}
.tm-feed-title-row h1 {
  margin: 0;
  font: 700 17px var(--font-mono);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.tm-feed-title-row p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 6px 0 14px;
  color: var(--text-secondary);
  font: 500 11px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tm-status-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.tm-status-filters::-webkit-scrollbar { display: none; }
.tm-status-filters button { appearance: none; }

.tm-social-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0;
  padding: 16px 18px;
  border: 1px solid var(--flap-amber-dim);
  border-radius: 8px;
  background: #15140F;
}
.tm-social-cta strong {
  display: block;
  margin-bottom: 4px;
  font: 700 13px var(--font-mono);
  text-transform: uppercase;
}
.tm-social-cta span { color: var(--text-secondary); font-size: 12px; line-height: 1.45; }
.tm-social-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.tm-social-actions a {
  padding: 7px 11px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.tm-social-actions a:hover { color: var(--flap-amber); border-color: var(--flap-amber-dim); }

/* ---------- DAILY BRIEFING + MANAGER DIRECTORY (v8.58) ---------- */
.tm-directory-hero{margin:18px 0 24px;padding:24px;border:1px solid rgba(59,130,246,.34);border-radius:12px;background:radial-gradient(circle at 100% 0,rgba(59,130,246,.12),transparent 42%),var(--bg-panel)}
.tm-directory-hero>span,.tm-directory-heading>span{display:block;margin-bottom:7px;color:#60a5fa;font:700 10px/1.2 var(--font-mono);letter-spacing:.08em;text-transform:uppercase}
.tm-directory-hero h1{margin:0 0 9px;font:700 clamp(24px,4vw,38px)/1.1 var(--font-mono);text-transform:uppercase}
.tm-directory-hero p{max-width:720px;margin:0;color:var(--text-secondary);font:500 14px/1.55 var(--font-sans)}
.tm-briefing-stats{display:flex;gap:9px;margin-top:18px}.tm-briefing-stats b{display:flex;align-items:baseline;gap:7px;padding:8px 11px;border:1px solid var(--hairline);border-radius:8px;color:var(--flap-amber);font:700 18px/1 var(--font-mono)}.tm-briefing-stats small{color:var(--text-secondary);font:600 9px/1 var(--font-mono);text-transform:uppercase}
.tm-briefing-section{margin:0 0 25px}.tm-directory-heading{margin-bottom:11px}.tm-directory-heading h2{margin:0;font:700 19px/1.2 var(--font-mono);text-transform:uppercase}
.tm-briefing-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tm-briefing-story{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--hairline);border-radius:10px;background:var(--bg-panel);color:inherit;text-decoration:none}.tm-briefing-story:hover{border-color:var(--flap-amber-dim)}.tm-briefing-story img,.tm-briefing-story>i{width:54px;height:54px;border-radius:50%;object-fit:cover}.tm-briefing-story>i{display:grid;place-items:center;background:var(--bg-void);color:var(--flap-amber);font:700 13px var(--font-mono)}.tm-briefing-story span{min-width:0}.tm-briefing-story strong,.tm-briefing-story small,.tm-briefing-story em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tm-briefing-story strong{font:700 13px var(--font-mono);text-transform:uppercase}.tm-briefing-story small{margin-top:4px;color:#b8c2d3;font:500 11px var(--font-sans)}.tm-briefing-story em{margin-top:5px;color:var(--text-secondary);font:500 9px var(--font-mono);font-style:normal}
.tm-briefing-latest,.tm-manager-list{border:1px solid var(--hairline);border-radius:11px;overflow:hidden;background:var(--bg-panel)}.tm-briefing-latest>a,.tm-manager-list>a{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 15px;border-bottom:1px solid var(--hairline);color:inherit;text-decoration:none}.tm-briefing-latest>a:last-child,.tm-manager-list>a:last-child{border-bottom:0}.tm-briefing-latest>a:hover,.tm-manager-list>a:hover{background:var(--bg-panel-hover)}.tm-briefing-latest time{color:#8ea8c9;font:600 10px var(--font-mono)}.tm-briefing-latest strong,.tm-briefing-latest small{display:block}.tm-briefing-latest strong{font:600 12px/1.35 var(--font-sans)}.tm-briefing-latest small{margin-top:4px;color:#60a5fa;font:700 8px var(--font-mono);text-transform:uppercase}.tm-briefing-latest>a>b,.tm-manager-list>a>b{color:var(--flap-amber)}
.tm-manager-list>a{grid-template-columns:42px minmax(0,1fr) auto 16px}.tm-manager-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid #74407d;border-radius:50%;background:#1d1022;color:#f18bff;font:700 13px var(--font-mono)}.tm-manager-list strong,.tm-manager-list small{display:block}.tm-manager-list strong{font:700 13px var(--font-mono);text-transform:uppercase}.tm-manager-list small{margin-top:4px;color:var(--text-secondary);font:500 11px var(--font-sans)}.tm-manager-list em{padding:5px 8px;border:1px solid #74407d;border-radius:5px;color:#f18bff;font:700 9px var(--font-mono);font-style:normal;text-transform:uppercase}.tm-empty-state{padding:22px;color:var(--text-secondary)}
@media(max-width:700px){.tm-directory-hero{margin:12px 0 18px;padding:17px}.tm-directory-hero h1{font-size:24px}.tm-briefing-grid{grid-template-columns:1fr}.tm-briefing-story{grid-template-columns:46px minmax(0,1fr)}.tm-briefing-story img,.tm-briefing-story>i{width:46px;height:46px}.tm-briefing-story>.tm-status-badge{grid-column:2;justify-self:start}.tm-manager-list>a{grid-template-columns:38px minmax(0,1fr) 16px}.tm-manager-list em{grid-column:2;justify-self:start}.tm-manager-list>a>b{grid-column:3;grid-row:1/3}.tm-briefing-stats{flex-wrap:wrap}}

.tm-row {
  display: grid;
  grid-template-columns: 56px 40px 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  margin-bottom: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--flap-amber-dim);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.tm-row:hover {
  border-left-color: var(--flap-amber);
}

.tm-row-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-void);
}

/* Quando il banner è uno stemma squadra (fallback quando manca la
   foto giocatore) invece di una foto viso — contain non cover, per
   non tagliare il logo, e un piccolo padding per non farlo toccare
   il bordo del cerchio */
.tm-row-photo-crest {
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--hairline);
  background: #E9EBEF !important;
}

.tm-row-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--flap-amber);
  border: 1px solid var(--hairline);
}

.tm-row-sublabel {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.tm-row:hover { background: var(--bg-panel-hover); }

.tm-row-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.tm-row-main { min-width: 0; }

.tm-row-player {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-row-player-link,
.tm-row-headline-link,
.tm-row-photo-link,
.tm-row-link {
  text-decoration: none;
  color: inherit;
}
.tm-row-photo-link { display: block; line-height: 0; }
.tm-row-player-cta {
  display: inline-block;
  margin: -1px 0 5px;
  padding: 2px 6px;
  border: 1px solid var(--flap-amber-dim);
  border-radius: 3px;
  background: #1C1710;
  color: var(--flap-amber);
  font: 600 9px var(--font-mono);
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}
.tm-row-player-cta:hover { text-decoration: underline; }
.tm-row:focus-visible {
  outline: 2px solid var(--flap-amber);
  outline-offset: 2px;
}
.tm-row-headline-link { display: block; }
.tm-row-headline-link:hover { color: var(--text-primary); }

.tm-row-headline {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 6px;
  /* libero di andare su più righe, non tagliato con i puntini —
     a differenza del nome giocatore sopra, che resta su una riga */
}

.tm-row-source {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.tm-row-stay-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-style: italic;
  color: var(--text-secondary);
}

.tm-row-crest {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: contain;
  vertical-align: middle;
  background: #E9EBEF;
  padding: 2px;
}

.tm-status-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  display: inline-block;
  margin-top: 4px;
}

.tm-status-rumour { color: #5B9BF5; background: #101C2E; }
.tm-status-advanced { color: var(--flap-amber); background: #241C0E; }
.tm-status-done { color: var(--live-green); background: var(--live-green-bg); }

.tm-row-link { color: var(--text-secondary); font-size: 15px; text-align: center; }

@keyframes tm-flip-in {
  0% { transform: rotateX(-90deg); opacity: 0; }
  100% { transform: rotateX(0deg); opacity: 1; }
}
.tm-row.tm-new { animation: tm-flip-in 0.4s ease-out; transform-origin: top; }

.tm-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 20px 4px 8px;
}

.tm-loading, .tm-empty {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  padding: 40px 4px;
  text-align: center;
}

@media (max-width: 480px) {
  .tm-trending-inner {
    display: block;
    padding: 9px 0 9px 20px;
  }
  .tm-trending-label {
    margin-bottom: 7px;
  }
  .tm-trending-list {
    padding-right: 20px;
  }
  .tm-trending-player {
    padding: 5px 9px;
  }
  .tm-row-player { font-size: 13px; }
  .tm-row { grid-template-columns: 44px 32px 1fr 20px; gap: 8px; }
  .tm-row-photo { width: 32px; height: 32px; }
  .tm-social-cta { align-items: flex-start; flex-direction: column; }
}

/* ---------- PAGINA DI DETTAGLIO (single-news_mercato.php) ---------- */

.tm-back-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 16px 4px 0;
}
.tm-back-link:hover { color: var(--flap-amber); }

.tm-article { padding: 20px 4px 60px; }

.tm-article-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 14px;
}

.tm-article-player-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 20px;
  padding: 13px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-panel), #171A20);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
a.tm-article-player-card:hover {
  border-color: var(--flap-amber-dim);
  background: var(--bg-panel-hover);
  transform: translateY(-1px);
}
.tm-article-player-photo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #343A46;
  border-radius: 50%;
  background: #202630;
  color: var(--flap-amber);
  font: 700 17px var(--font-mono);
}
.tm-article-player-photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-article-player-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.tm-article-player-copy strong { color: var(--text-primary); font-size: 15px; }
.tm-article-player-club { color: var(--text-secondary); font-size: 13px; }
.tm-article-player-copy small { color: #6F7682; font-size: 11px; }
.tm-article-player-action {
  flex: 0 0 auto;
  color: var(--flap-amber);
  font: 600 11px var(--font-mono);
  text-transform: uppercase;
}
.tm-article-player-action b { margin-left: 4px; }

/* ---------- PAGINA CAMPIONATO ---------- */
.tm-league-intro {
  margin: 0 4px 18px;
  color: var(--text-secondary);
  font: 14px/1.5 var(--font-sans);
}
.tm-league-clubs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 4px 30px;
}
.tm-league-club {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid var(--hairline);
  border-radius: 7px;
  background: var(--bg-panel);
  color: var(--text-primary);
  font: 11px/1.3 var(--font-mono);
  text-decoration: none;
}
.tm-league-club:hover { border-color: var(--flap-amber-dim); }
.tm-league-club > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.tm-league-club strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tm-league-club small { margin-top: 3px; color: var(--text-secondary); font-size: 9px; }
.tm-league-club img,
.tm-league-club-placeholder {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  padding: 4px;
  background: #E9EBEF;
}
.tm-league-club-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--flap-amber);
  background: var(--bg-void);
}
.tm-league-feed-title {
  margin: 0 4px 14px;
  color: var(--text-primary);
  font: 700 16px var(--font-mono);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .tm-league-clubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .tm-league-club { font-size: 10px; padding: 7px; }
  .tm-league-club img,
  .tm-league-club-placeholder { width: 32px; height: 32px; flex-basis: 32px; }
}

.tm-article-clubs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.tm-club-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  transition: border-color 0.15s, color 0.15s;
}
.tm-club-badge:hover {
  border-color: var(--flap-amber-dim);
  color: var(--flap-amber);
}
.tm-club-badge.to {
  color: var(--flap-amber);
  border-color: var(--flap-amber-dim);
  background: #1C1710;
}
.tm-club-badge img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  background: #E9EBEF;
  padding: 2px;
}

/* ---------- PAGINA GIOCATORE / TIMELINE ---------- */
.tm-player-page { max-width: 1180px; }

.tm-player-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 4px 18px;
}

/* ---------- PLAYER DESKTOP WORKSPACE ---------- */
.tm-player-desktop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  grid-template-areas: "primary sidebar";
  align-items: start;
  gap: 28px;
  margin-top: 28px;
}

.tm-player-primary {
  grid-area: primary;
  min-width: 0;
}

.tm-player-sidebar {
  grid-area: sidebar;
  min-width: 0;
  position: sticky;
  top: 18px;
}

.tm-player-sidebar-card {
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--flap-amber-dim);
  border-radius: 10px;
  background: var(--bg-panel);
}

.tm-player-sidebar-label {
  display: block;
  margin-bottom: 13px;
  color: var(--flap-amber);
  font: 700 10px/1.2 var(--font-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tm-player-sidebar-club {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-primary);
  text-decoration: none;
}

.tm-player-sidebar-club:hover { color: var(--flap-amber); }
.tm-player-sidebar-club img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 4px;
  border-radius: 50%;
  object-fit: contain;
  background: #E9EBEF;
}
.tm-player-sidebar-club span {
  display: block;
  margin-bottom: 2px;
  color: var(--text-secondary);
  font: 600 9px/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tm-player-sidebar-club strong { font: 700 13px/1.3 var(--font-sans); }

.tm-player-sidebar-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 14px 0 0;
}
.tm-player-sidebar-facts div {
  padding: 10px;
  border: 1px solid var(--hairline);
  border-radius: 7px;
  background: var(--bg-void);
}
.tm-player-sidebar-facts dt {
  margin-bottom: 4px;
  color: var(--text-secondary);
  font: 600 9px/1.2 var(--font-mono);
  text-transform: uppercase;
}
.tm-player-sidebar-facts dd {
  margin: 0;
  color: var(--text-primary);
  font: 700 12px/1.25 var(--font-mono);
}

@media (min-width: 901px) {
  .tm-player-hero { gap: 30px; padding-top: 34px; }
  .tm-player-page .tm-player-hero-photo { flex-basis: 136px; width: 136px; height: 136px; }
  .tm-player-page .tm-player-hero h1 { font-size: 32px; }
  .tm-player-intro { max-width: 820px; }
  .tm-player-desktop-grid .tm-player-intelligence {
    display: block;
    margin: 0;
  }
  .tm-player-desktop-grid .tm-player-intel-block { margin-bottom: 12px; }
  .tm-player-desktop-grid .tm-player-intel-block + .tm-player-intel-block { margin-top: 0; }
  .tm-player-desktop-grid .tm-player-timeline { padding-top: 0; }
  .tm-player-desktop-grid .tm-player-timeline::before { top: 46px; }
}

.tm-trending-card[hidden] { display: none; }

/* ---------- CURRENT MARKET SIGNAL + COMPLETED TRANSFER ---------- */
.tm-player-current-signal {
  max-width: 1180px;
  margin: 30px auto 18px;
  padding: 20px 22px;
  border: 1px solid rgba(59, 130, 246, .38);
  border-left: 3px solid #3b82f6;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(17, 35, 60, .42), var(--bg-panel) 55%);
}
.tm-player-current-signal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}
.tm-player-current-signal-heading span:first-child {
  display: block;
  margin-bottom: 5px;
  color: #60a5fa;
  font: 700 10px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-player-current-signal-heading h2 {
  margin: 0;
  font: 700 21px/1.15 var(--font-mono);
  text-transform: uppercase;
}
.tm-player-current-signal-body {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(260px, .85fr);
  align-items: center;
  gap: 22px;
  padding: 15px 17px;
  border: 1px solid var(--border-default);
  border-radius: 9px;
  background: rgba(8, 12, 17, .72);
}
.tm-player-current-signal-copy strong,
.tm-player-current-signal-copy time { display: block; }
.tm-player-current-signal-copy strong { font: 650 13px/1.35 var(--font-sans); }
.tm-player-current-signal-copy time { margin-top: 5px; color: var(--text-secondary); font: 600 9px/1.3 var(--font-mono); text-transform: uppercase; }
.tm-player-current-signal-copy a {
  display: inline-block;
  margin-top: 12px;
  color: var(--flap-amber);
  font: 700 10px/1.3 var(--font-mono);
  text-transform: uppercase;
}

/* ---------- TRANSFER VALUE ESTIMATE ---------- */
.tm-player-value-estimate {
  max-width: 1180px;
  margin: 18px auto 24px;
  padding: 22px;
  border: 1px solid rgba(59, 130, 246, .42);
  border-left: 3px solid #60a5fa;
  border-radius: 12px;
  background: radial-gradient(circle at 100% 0, rgba(59, 130, 246, .1), transparent 36%), var(--bg-panel);
}
.tm-player-value-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
}
.tm-player-value-heading span {
  display: block;
  margin-bottom: 6px;
  color: #60a5fa;
  font: 700 10px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-player-value-heading h2 {
  margin: 0;
  font: 700 23px/1.12 var(--font-mono);
  text-transform: uppercase;
}
.tm-player-value-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--text-secondary);
  font: 400 12px/1.5 var(--font-sans);
  text-align: right;
}
.tm-player-value-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr .8fr .8fr;
  border: 1px solid var(--border-default);
  border-radius: 9px;
  overflow: hidden;
  background: rgba(8, 12, 17, .72);
}
.tm-player-value-grid > * {
  display: flex;
  min-width: 0;
  min-height: 92px;
  padding: 15px 17px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-default);
}
.tm-player-value-grid > *:last-child { border-right: 0; }
.tm-player-value-grid span {
  color: var(--text-secondary);
  font: 700 9px/1.2 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tm-player-value-grid strong {
  margin-top: 7px;
  color: var(--text-primary);
  font: 700 18px/1.2 var(--font-mono);
}
.tm-player-value-grid .tm-player-value-primary strong { color: var(--flap-amber); font-size: 25px; }
.tm-player-value-grid small { margin-top: 5px; color: var(--text-secondary); font: 500 10px/1.3 var(--font-sans); }
.tm-player-transfer-record {
  max-width: 1180px;
  margin: 18px auto 26px;
  padding: 22px;
  border: 1px solid rgba(245, 158, 11, .42);
  border-left: 3px solid var(--flap-amber);
  border-radius: 12px;
  background: var(--bg-panel);
}
.tm-player-transfer-record-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.tm-player-transfer-record-heading span {
  display: block;
  margin-bottom: 6px;
  color: var(--flap-amber);
  font: 700 11px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-player-transfer-record-heading h2 {
  margin: 0;
  color: var(--text-primary);
  font: 700 24px/1.1 var(--font-mono);
  text-transform: uppercase;
}
.tm-player-transfer-record-heading p {
  max-width: 400px;
  margin: 0;
  color: var(--text-secondary);
  font: 400 12px/1.5 var(--font-sans);
  text-align: right;
}
.tm-player-transfer-record-main {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(290px, auto) auto;
  align-items: center;
  gap: 20px;
  padding: 17px;
  border: 1px solid var(--border-default);
  border-radius: 9px;
  background: rgba(8, 12, 17, .72);
}
.tm-player-transfer-route {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}
.tm-transfer-club {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--hairline);
  border-radius: 9px;
  background: rgba(18, 22, 29, .82);
}
.tm-transfer-club img {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  object-fit: contain;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: #f4f5f7;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .3);
}
.tm-transfer-club strong { min-width: 0; font: 700 13px/1.25 var(--font-sans); }
.tm-transfer-club-fallback {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  color: var(--flap-amber);
  font: 700 11px/1 var(--font-mono);
}
.tm-player-transfer-route > b { color: var(--flap-amber); }
.tm-player-transfer-financials {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 10px;
}
.tm-player-transfer-financials > div {
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(18, 22, 29, .7);
}
.tm-player-transfer-financials span,
.tm-player-transfer-record-main > time {
  display: block;
  color: var(--text-secondary);
  font: 600 9px/1.3 var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tm-player-transfer-financials strong {
  display: block;
  margin-top: 5px;
  color: var(--flap-amber);
  font: 700 15px/1.2 var(--font-mono);
}
.tm-player-transfer-history { margin-top: 12px; border-top: 1px solid var(--hairline); }
.tm-player-transfer-history summary {
  display: flex;
  justify-content: space-between;
  padding: 13px 2px 5px;
  color: var(--text-primary);
  cursor: pointer;
  font: 700 11px/1.3 var(--font-mono);
  text-transform: uppercase;
}
.tm-player-transfer-history summary span { color: var(--text-secondary); font-size: 9px; }
.tm-player-transfer-history article {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-secondary);
  font: 500 11px/1.4 var(--font-sans);
}
.tm-player-transfer-history article strong { color: var(--text-primary); }
.tm-player-transfer-record > small {
  display: block;
  margin-top: 12px;
  color: var(--text-secondary);
  font: 500 10px/1.4 var(--font-mono);
}

@media (max-width: 1050px) {
  .tm-player-current-signal-body,
  .tm-player-transfer-record-main { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .tm-wordmark { font-size: 24px; }

  .tm-player-current-signal { margin: 22px 16px 14px; padding: 17px; }
  .tm-player-current-signal-heading { align-items: flex-start; }
  .tm-player-current-signal-heading h2 { font-size: 19px; }
  .tm-player-current-signal-body { grid-template-columns: 1fr; gap: 13px; }
  .tm-player-value-estimate { margin: 18px 16px 22px; padding: 17px; }
  .tm-player-value-heading { display: block; }
  .tm-player-value-heading h2 { font-size: 20px; }
  .tm-player-value-heading p { margin-top: 8px; text-align: left; }
  .tm-player-value-grid { grid-template-columns: 1fr 1fr; }
  .tm-player-value-grid > * { border-bottom: 1px solid var(--border-default); }
  .tm-player-value-grid > *:nth-child(2n) { border-right: 0; }
  .tm-player-value-grid > *:nth-last-child(-n+2) { border-bottom: 0; }
  .tm-player-transfer-record { margin: 22px 16px; padding: 17px; }
  .tm-player-transfer-record-heading { display: block; }
  .tm-player-transfer-record-heading h2 { font-size: 20px; }
  .tm-player-transfer-record-heading p { margin-top: 8px; text-align: left; }
  .tm-player-transfer-record-main { grid-template-columns: 1fr; }
  .tm-player-transfer-route { flex-wrap: wrap; }
  .tm-transfer-club { flex: 1 1 calc(50% - 28px); }
  .tm-player-transfer-financials { grid-template-columns: 1fr 1fr; }
  .tm-player-transfer-history article { grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 900px) {
  .tm-player-page { max-width: 860px; }
  .tm-player-desktop-grid { display: block; margin-top: 0; }
  .tm-player-sidebar { position: static; }
  .tm-player-sidebar-card { display: none; }
}

@media (min-width: 901px) {
  .tm-home-sidebar > .tm-trending { order: 1; }
  .tm-home-sidebar > .tm-home-sidebar-active { order: 2; }
  .tm-home-sidebar > .tm-home-sidebar-deals { order: 3; }
  .tm-home-sidebar > .tm-watchlist-card { order: 4; }
}

/* ---------- PLAYER REPORTED DEAL FIGURES ---------- */
.tm-player-market-figures {
  max-width: 1180px;
  margin: 30px auto 26px;
  padding: 22px;
  border: 1px solid rgba(245, 158, 11, .42);
  border-left: 3px solid var(--flap-amber);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(245, 158, 11, .08), transparent 34%),
    var(--bg-panel);
}
.tm-player-market-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 17px;
}
.tm-player-market-heading > div > span {
  display: block;
  margin-bottom: 6px;
  color: var(--flap-amber);
  font: 700 11px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-player-market-heading h2 {
  margin: 0;
  color: var(--text-primary);
  font: 700 24px/1.1 var(--font-mono);
  text-transform: uppercase;
}
.tm-player-market-heading p {
  max-width: 390px;
  margin: 0;
  color: var(--text-secondary);
  font: 400 12px/1.5 var(--font-sans);
  text-align: right;
}
.tm-player-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tm-player-market-card {
  display: flex;
  min-width: 0;
  min-height: 190px;
  padding: 17px;
  flex-direction: column;
  border: 1px solid var(--border-default);
  border-radius: 9px;
  background: rgba(8, 12, 17, .72);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.tm-player-market-card:hover,
.tm-player-market-card:focus-visible {
  border-color: var(--flap-amber);
  background: var(--bg-panel-hover);
  transform: translateY(-2px);
}
.tm-player-market-label {
  color: var(--text-secondary);
  font: 700 10px/1.3 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tm-player-market-card > strong {
  display: block;
  margin: 7px 0 12px;
  color: var(--flap-amber);
  font: 700 clamp(26px, 3vw, 38px)/1 var(--font-mono);
  letter-spacing: -.04em;
}
.tm-player-market-route {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: var(--text-primary);
  font: 600 12px/1.35 var(--font-sans);
}
.tm-player-market-route b { color: var(--flap-amber); font-weight: 700; }
.tm-player-market-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  color: var(--text-secondary);
  font: 500 10px/1.35 var(--font-mono);
}
.tm-player-market-meta time { white-space: nowrap; }
.tm-player-market-status {
  display: inline-flex;
  width: max-content;
  margin-top: 9px;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(245, 158, 11, .1);
  color: var(--flap-amber);
  font: 700 9px/1 var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tm-player-market-read {
  margin-top: auto;
  padding-top: 14px;
  color: var(--flap-amber);
  font: 700 10px/1 var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .tm-player-market-figures { margin: 22px 16px; padding: 17px; }
  .tm-player-market-heading { display: block; }
  .tm-player-market-heading h2 { font-size: 20px; }
  .tm-player-market-heading p { margin-top: 8px; text-align: left; }
  .tm-player-market-grid { grid-template-columns: 1fr; }
  .tm-player-market-card { min-height: 0; }
  .tm-player-market-card > strong { font-size: 30px; }
}

.tm-player-hero-photo {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--flap-amber-dim);
  background: var(--bg-panel);
}

.tm-player-hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 34px var(--font-mono);
  color: var(--flap-amber);
}

.tm-player-current-club {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 5px 9px;
  color: var(--text-secondary);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--bg-panel);
  font: 11px var(--font-sans);
}

.tm-player-current-club strong { color: var(--text-primary); font-weight: 600; }
.tm-player-current-club img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  background: #E9EBEF;
  padding: 2px;
}

.tm-player-kicker {
  margin-bottom: 7px;
  color: var(--flap-amber);
  font: 600 11px var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tm-player-hero h1 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font: 700 26px/1.25 var(--font-mono);
  text-transform: uppercase;
}

.tm-player-meta,
.tm-player-intro {
  color: var(--text-secondary);
  font: 14px/1.6 var(--font-sans);
}

.tm-player-intelligence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 18px 4px 28px;
}

.tm-player-intel-block {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--bg-panel);
}

.tm-player-intel-block h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: var(--text-secondary);
  font: 700 10px var(--font-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tm-player-intel-block h2 small {
  color: var(--flap-amber);
  font-size: 9px;
}

.tm-player-intel-chips,
.tm-player-source-list,
.tm-player-fee-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tm-player-intel-chip,
.tm-player-source-list a,
.tm-player-source-list span,
.tm-player-fee-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--text-primary);
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
}

.tm-player-intel-chip {
  padding: 5px 8px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--bg-void);
}

.tm-player-intel-chip img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  object-fit: contain;
  background: #E9EBEF;
  padding: 2px;
}

.tm-player-source-list a,
.tm-player-source-list span {
  color: var(--text-secondary);
  padding-right: 5px;
}

.tm-player-fee-list a {
  padding: 5px 8px;
  color: var(--flap-amber);
  border: 1px solid var(--flap-amber-dim);
  border-radius: 4px;
  background: #15140F;
  font-family: var(--font-mono);
}

.tm-player-intel-chip:hover,
.tm-player-source-list a:hover,
.tm-player-fee-list a:hover { color: var(--flap-amber); }

.tm-player-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--text-secondary);
  font: 12px var(--font-mono);
}

.tm-player-intro {
  padding: 0 4px 26px;
  border-bottom: 1px solid var(--hairline);
}

.tm-player-timeline {
  position: relative;
  padding: 26px 4px 12px 36px;
}

.tm-player-timeline::before {
  content: '';
  position: absolute;
  top: 72px;
  bottom: 35px;
  left: 13px;
  width: 1px;
  background: var(--hairline);
}

.tm-player-timeline > h2 {
  margin: 0 0 20px -32px;
  color: var(--text-primary);
  font: 700 18px var(--font-mono);
  text-transform: uppercase;
}

.tm-timeline-event {
  position: relative;
  margin-bottom: 14px;
  padding: 18px 18px 16px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--flap-amber-dim);
  border-radius: 8px;
  background: var(--bg-panel);
}

.tm-timeline-marker {
  position: absolute;
  top: 23px;
  left: -31px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--flap-amber);
  border-radius: 50%;
  background: var(--bg-void);
}

.tm-timeline-event time {
  display: block;
  margin-bottom: 7px;
  color: var(--text-secondary);
  font: 11px var(--font-mono);
}

.tm-timeline-event h3 { margin: 0 0 9px; }
.tm-timeline-event h3 a {
  color: var(--text-primary);
  font: 600 16px/1.4 var(--font-mono);
  text-decoration: none;
}
.tm-timeline-event h3 a:hover { color: var(--flap-amber); }

.tm-timeline-event p {
  margin: 10px 0;
  color: var(--text-secondary);
  font: 13px/1.55 var(--font-sans);
}

.tm-timeline-clubs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--text-secondary);
  font: 12px var(--font-mono);
}
.tm-timeline-clubs img {
  border-radius: 50%;
  object-fit: contain;
  padding: 2px;
  background: #E9EBEF;
}

.tm-timeline-read {
  color: var(--flap-amber);
  font: 11px var(--font-mono);
  text-decoration: none;
  margin-right: 10px;
}

.tm-pagination { padding: 10px 4px 45px; }
.tm-pagination .page-numbers {
  display: inline-block;
  margin-right: 5px;
  padding: 6px 10px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--text-secondary);
  text-decoration: none;
  font: 12px var(--font-mono);
}
.tm-pagination .current { color: var(--flap-amber); border-color: var(--flap-amber-dim); }

@media (max-width: 600px) {
  .tm-player-intelligence {
    display: block;
    margin-bottom: 24px;
  }
  .tm-player-intel-block + .tm-player-intel-block { margin-top: 8px; }
  .tm-player-hero { align-items: flex-start; gap: 14px; }
  .tm-player-hero-photo { width: 76px; height: 76px; flex-basis: 76px; }
  .tm-player-hero h1 { font-size: 19px; }
  .tm-player-meta { font-size: 12px; }
  .tm-player-timeline { padding-left: 27px; }
  .tm-player-timeline::before { left: 9px; }
  .tm-timeline-marker { left: -24px; }
}

/* ---------- LIVE TRANSFER TRACKER v8.51 ---------- */
.tm-post-window-card-tracker { --card-accent:#35d07f; }
.tm-tracker-page { max-width:1120px; margin:0 auto; padding:46px 24px 80px; }
.tm-tracker-hero { margin-bottom:24px; }
.tm-tracker-hero > a { color:var(--text-secondary); font:600 11px/1.2 var(--font-mono); text-decoration:none; }
.tm-tracker-hero > span { display:block; margin-top:28px; color:var(--live-green); font:700 11px/1.2 var(--font-mono); letter-spacing:.08em; text-transform:uppercase; }
.tm-tracker-hero h1 { margin:7px 0 10px; font:700 clamp(29px,5vw,46px)/1.08 var(--font-mono); text-transform:uppercase; }
.tm-tracker-hero p { max-width:760px; margin:0; color:#aab4c5; font-size:16px; line-height:1.6; }
.tm-tracker-filters { display:grid; grid-template-columns:minmax(180px,1.3fr) repeat(2,minmax(145px,.7fr)) auto; gap:10px; align-items:end; margin:24px 0 14px; padding:15px; border:1px solid var(--hairline); border-radius:12px; background:var(--bg-panel); }
.tm-tracker-filters label { display:grid; gap:6px; }
.tm-tracker-filters label > span { color:var(--text-secondary); font:700 9px/1.2 var(--font-mono); text-transform:uppercase; }
.tm-tracker-filters input,.tm-tracker-filters select { width:100%; min-height:42px; padding:9px 11px; border:1px solid var(--hairline); border-radius:8px; background:var(--bg-void); color:var(--text-primary); font-size:14px; }
.tm-tracker-filters button { min-height:42px; padding:9px 16px; border:1px solid var(--flap-amber-dim); border-radius:8px; background:#211807; color:var(--flap-amber); font:700 11px/1 var(--font-mono); text-transform:uppercase; cursor:pointer; }
.tm-tracker-summary { display:flex; align-items:baseline; gap:8px; margin:15px 2px; color:var(--text-secondary); }
.tm-tracker-summary strong { color:var(--text-primary); font:800 21px/1 var(--font-mono); }
.tm-tracker-summary span { font-size:13px; }
.tm-tracker-table { overflow:hidden; border:1px solid var(--hairline); border-radius:12px; background:var(--bg-panel); }
.tm-tracker-row { display:grid; grid-template-columns:1.25fr 1.45fr .7fr .65fr .8fr; gap:14px; align-items:center; min-height:68px; padding:11px 15px; border-bottom:1px solid var(--hairline); color:var(--text-secondary); font-size:12px; text-decoration:none; }
.tm-tracker-row:last-child { border-bottom:0; }
a.tm-tracker-row:hover { background:var(--bg-panel-hover); color:var(--text-primary); }
.tm-tracker-head { min-height:38px; color:var(--text-secondary); background:var(--bg-void); font:700 9px/1.2 var(--font-mono); text-transform:uppercase; }
.tm-tracker-player { display:flex; align-items:center; gap:10px; min-width:0; }
.tm-tracker-player img { flex:0 0 42px; width:42px; height:42px; border-radius:50%; object-fit:cover; }
.tm-tracker-player strong { overflow:hidden; color:var(--text-primary); font:700 13px/1.3 var(--font-mono); text-overflow:ellipsis; white-space:nowrap; }
.tm-tracker-route b { color:var(--flap-amber); }
.tm-tracker-row small { display:none; }
.tm-tracker-row .tm-status-badge { display:inline-flex; width:max-content; }
.tm-tracker-empty { display:grid; gap:6px; padding:40px 20px; border:1px solid var(--hairline); border-radius:12px; background:var(--bg-panel); text-align:center; }
.tm-tracker-empty span { color:var(--text-secondary); }

@media (max-width: 760px) {
  .tm-tracker-page { padding:30px 16px 60px; }
  .tm-tracker-hero > span { margin-top:22px; }
  .tm-tracker-hero p { font-size:14px; }
  .tm-tracker-filters { grid-template-columns:1fr 1fr; padding:12px; }
  .tm-tracker-filters label:first-child,.tm-tracker-filters button { grid-column:1/-1; }
  .tm-tracker-head { display:none; }
  .tm-tracker-table { display:grid; gap:9px; overflow:visible; border:0; background:transparent; }
  .tm-tracker-row { grid-template-columns:minmax(0,1fr) auto; gap:10px 14px; min-height:0; padding:14px; border:1px solid var(--hairline); border-radius:11px; background:var(--bg-panel); }
  .tm-tracker-player { grid-column:1; }
  .tm-tracker-route { grid-column:1/-1; grid-row:2; color:#aab4c5; }
  .tm-tracker-row > span:nth-child(3) { grid-column:2; grid-row:1; justify-self:end; }
  .tm-tracker-row > span:nth-child(4),.tm-tracker-row > span:nth-child(5) { display:flex; gap:5px; align-items:center; font-size:11px; }
  .tm-tracker-row > span:nth-child(5) { justify-self:end; }
  .tm-tracker-row small { display:inline; color:var(--text-secondary); font:700 8px/1 var(--font-mono); text-transform:uppercase; }
  .tm-home-sidebar-active { display:none!important; }
}

.tm-article-body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

/* Qualsiasi immagine nel corpo articolo (WP le può aggiungere via
   editor, o embed) non deve mai superare la larghezza del contenitore
   — senza questa regola, su schermi grandi le immagini restano alla
   loro dimensione nativa e "sforano" il layout. */
.tm-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 12px 0;
}

.tm-article-source {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}
.tm-article-source a { color: var(--text-secondary); }
.tm-article-source a:hover { color: var(--flap-amber); }

.tm-share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.tm-share-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-right: 4px;
}

.tm-share-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 6px 12px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.tm-share-btn:hover {
  color: var(--flap-amber);
  border-color: var(--flap-amber-dim);
}
.tm-copy-post-btn {
  cursor: pointer;
  color: var(--flap-amber);
  border-color: var(--flap-amber-dim);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tm-copy-post-btn:hover,
.tm-copy-post-btn.is-copied {
  color: #07110b;
  border-color: #42df7b;
  background: #42df7b;
}
.tm-copy-post-btn.is-error {
  color: #fff;
  border-color: #ef4444;
  background: rgba(239, 68, 68, .18);
}

/* ---------- PAGINA ARCHIVIO SQUADRA (taxonomy-squadra.php) ---------- */

.tm-team-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 4px 10px;
}

.tm-team-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: #E9EBEF;
  padding: 5px;
}

.tm-team-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  margin: 0;
}

.tm-team-intro {
  max-width: 720px;
  margin: 0 4px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.tm-taxonomy-kicker {
  display: inline-block;
  margin: 0 0 7px;
  color: var(--flap-amber);
  font: 600 10px var(--font-mono);
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}
a.tm-taxonomy-kicker:hover { text-decoration: underline; }

.tm-taxonomy-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 4px 26px;
}
.tm-taxonomy-stats div {
  padding: 13px 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--bg-panel);
}
.tm-taxonomy-stats strong { display: block; color: var(--text-primary); font: 700 20px var(--font-mono); }
.tm-taxonomy-stats span { display: block; margin-top: 3px; color: var(--text-secondary); font-size: 11px; }

.tm-insight-section { margin: 0 4px 28px; }
.tm-insight-section > h2 {
  margin: 0 0 11px;
  color: var(--text-secondary);
  font: 600 11px var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-insight-players { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tm-insight-player {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--bg-panel);
  color: var(--text-primary);
  text-decoration: none;
}
.tm-insight-player:hover { border-color: var(--flap-amber-dim); }
.tm-insight-player-photo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border-radius: 50%;
  background: #202630;
  color: var(--flap-amber);
  font: 700 13px var(--font-mono);
}
.tm-insight-player-photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-insight-player > span:nth-child(2) { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.tm-insight-player strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.tm-insight-player small { margin-top: 3px; color: var(--text-secondary); font-size: 10px; }
.tm-insight-player b { color: var(--flap-amber); font: 12px var(--font-mono); }

@media (max-width: 600px) {
  .tm-taxonomy-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-insight-players { grid-template-columns: 1fr; }
}

.tm-team-direction-filters {
  display: flex;
  gap: 7px;
  margin: 0 4px 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tm-team-direction-filters::-webkit-scrollbar { display: none; }
.tm-team-direction-filters button { appearance: none; }

/* ---------- GRIGLIA SQUADRE IN HOME (front-page.php) ---------- */

.tm-teams-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  border-top: 1px solid var(--hairline);
}

.tm-teams-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.tm-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 10px;
}

.tm-team-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  transition: border-color 0.15s;
  overflow: hidden;
  text-decoration: none;
  /* Se un'immagine dello stemma non si carica (link Wikidata rotto),
     il browser mostra il testo alt con lo stile di link blu di
     default — questo lo nasconde, lasciando solo il cerchio vuoto
     invece di un artefatto testuale brutto */
  color: transparent;
  font-size: 0;
}
.tm-team-crest:hover { border-color: var(--flap-amber-dim); }

.tm-team-crest img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.tm-team-crest-placeholder {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--flap-amber);
}

/* ---------- COUNTDOWN DEADLINE DAY ---------- */

.tm-deadline-countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: var(--bg-panel);
  border: 1px solid var(--flap-amber-dim);
  border-radius: 8px;
}

/* Il contenuto above-the-fold non deve attendere il webfont per il paint/LCP. */
.tm-deadline-countdown,
.tm-deadline-countdown * {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.tm-deadline-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.tm-deadline-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--flap-amber);
  letter-spacing: 0.02em;
}
.tm-window-closed {
  border-color: #245E43;
  background: var(--live-green-bg);
}
.tm-window-closed .tm-deadline-value { color: var(--live-green); }

/* ---------- POST-WINDOW MARKET HUB ---------- */
.tm-post-window-hub {
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid rgba(59, 130, 246, .34);
  border-radius: 12px;
  background: radial-gradient(circle at 100% 0, rgba(59, 130, 246, .1), transparent 38%), var(--bg-panel);
}
.tm-post-window-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.tm-post-window-heading span,
.tm-market-directory-head > span {
  display: block;
  margin-bottom: 5px;
  color: #60a5fa;
  font: 700 10px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-post-window-heading h2 { margin: 0; font: 700 20px/1.15 var(--font-mono); text-transform: uppercase; }
.tm-post-window-heading p { max-width: 440px; margin: 0; color: var(--text-secondary); font: 400 11px/1.5 var(--font-sans); text-align: right; }
.tm-post-window-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tm-post-window-grid > a {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 104px;
  padding: 15px 38px 15px 15px;
  border: 1px solid var(--border-default);
  border-radius: 9px;
  background: rgba(8, 12, 17, .72);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.tm-post-window-grid > a::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--card-accent, #60a5fa); }
.tm-post-window-grid > a:hover { border-color: var(--card-accent, #60a5fa); background: var(--bg-panel-hover); transform: translateY(-2px); }
.tm-post-window-card-free { --card-accent: #35d07f; }
.tm-post-window-card-contracts { --card-accent: #a78bfa; }
.tm-post-window-card-values { --card-accent: #60a5fa; }
.tm-post-window-card-deals { --card-accent: #f59e0b; }
.tm-post-window-card-followed { --card-accent: #f472b6; }
.tm-post-window-card-january { --card-accent: #38bdf8; }
.tm-post-window-eyebrow { display: block; margin-bottom: 17px; color: var(--card-accent, #60a5fa); font: 700 8px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.tm-post-window-grid strong { display: block; margin-bottom: 9px; font: 700 13px/1.2 var(--font-mono); text-transform: uppercase; white-space: nowrap; }
.tm-post-window-grid small { display: block; overflow: hidden; color: var(--text-secondary); font: 500 9px/1.35 var(--font-sans); text-overflow: ellipsis; white-space: nowrap; }
.tm-post-window-arrow { position: absolute; top: 50%; right: 14px; color: var(--card-accent, var(--flap-amber)); transform: translateY(-50%); }
.tm-post-window-leagues { margin-top: 18px; }
.tm-post-window-subheading { margin-bottom: 9px; color: var(--text-secondary); font: 700 8px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.tm-post-window-links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.tm-post-window-links a { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-width: 0; min-height: 74px; padding: 13px 14px; border: 1px solid var(--hairline); border-radius: 9px; background: rgba(8, 12, 17, .45); color: var(--text-secondary); text-decoration: none; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.tm-post-window-links a { grid-column: span 2; }
.tm-league-flag { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--hairline); border-radius: 50%; background: var(--bg-void); font-size: 21px; line-height: 1; }
.tm-league-copy { min-width: 0; }
.tm-post-window-links strong { display: block; overflow: hidden; margin-bottom: 5px; color: var(--text-primary); font: 700 11px/1.2 var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.tm-post-window-links small { display: block; color: var(--text-secondary); font: 500 8px/1.2 var(--font-mono); text-transform: uppercase; }
.tm-post-window-links b { color: var(--flap-amber); font: 700 11px var(--font-mono); }
.tm-post-window-links a:hover { color: var(--text-primary); border-color: var(--flap-amber-dim); background: rgba(232, 163, 61, .05); }
.tm-post-window-links a:hover { transform: translateY(-2px); }
.tm-january-preview { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; margin-top: 16px; padding: 15px 17px; border: 1px solid rgba(56, 189, 248, .34); border-radius: 9px; background: linear-gradient(100deg, rgba(56, 189, 248, .09), rgba(8, 12, 17, .56)); color: inherit; text-decoration: none; }
.tm-january-preview:hover { border-color: #38bdf8; background: linear-gradient(100deg, rgba(56, 189, 248, .14), rgba(8, 12, 17, .72)); }
.tm-january-preview-copy { min-width: 0; }
.tm-january-preview-copy > span { display: block; margin-bottom: 5px; color: #38bdf8; font: 700 8px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.tm-january-preview-copy strong { display: block; margin-bottom: 5px; font: 700 13px/1.2 var(--font-mono); text-transform: uppercase; }
.tm-january-preview-copy small { color: var(--text-secondary); font: 500 10px/1.4 var(--font-sans); }
.tm-january-preview-action { display: flex; align-items: center; gap: 9px; color: var(--text-primary); font: 700 9px/1.2 var(--font-mono); text-transform: uppercase; white-space: nowrap; }
.tm-january-preview-action b { color: var(--flap-amber); }

/* ---------- EVERGREEN MARKET DIRECTORIES ---------- */
.tm-market-directory-page { max-width: 1120px; padding-top: 30px; padding-bottom: 70px; }
.tm-market-directory-head { margin: 28px 0 25px; padding-bottom: 23px; border-bottom: 1px solid var(--hairline); }
.tm-market-directory-head h1 { max-width: 850px; margin: 0 0 10px; font: 700 clamp(26px, 4vw, 42px)/1.08 var(--font-mono); text-transform: uppercase; }
.tm-market-directory-head p { max-width: 790px; margin: 0; color: var(--text-secondary); font: 400 14px/1.65 var(--font-sans); }
.tm-evergreen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-evergreen-player {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--flap-amber-dim);
  border-radius: 10px;
  background: var(--bg-panel);
  color: inherit;
  text-decoration: none;
}
.tm-evergreen-player:hover { border-color: var(--flap-amber); background: var(--bg-panel-hover); }
.tm-evergreen-player img,
.tm-evergreen-player-fallback { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: var(--bg-void); }
.tm-evergreen-player-fallback { display: grid; place-items: center; color: var(--flap-amber); border: 1px solid var(--hairline); font: 700 15px var(--font-mono); }
.tm-evergreen-player > span:nth-child(2) { min-width: 0; }
.tm-evergreen-player strong,
.tm-evergreen-player small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-evergreen-player strong { margin-bottom: 6px; font: 700 13px/1.2 var(--font-mono); }
.tm-evergreen-player small { color: var(--text-secondary); font: 500 10px/1.4 var(--font-sans); }
.tm-evergreen-player > b { color: var(--flap-amber); }
.tm-market-directory-empty { padding: 28px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--bg-panel); }
.tm-market-directory-empty h2 { margin: 0 0 8px; font: 700 17px var(--font-mono); text-transform: uppercase; }
.tm-market-directory-empty p { margin: 0; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 760px) {
  .tm-window-closed { align-items: flex-start; flex-direction: column; }
  .tm-post-window-heading { display: block; }
  .tm-post-window-heading p { margin-top: 8px; text-align: left; }
  .tm-post-window-grid { grid-template-columns: 1fr; }
  .tm-post-window-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tm-post-window-links a { grid-column: auto; }
  .tm-post-window-links a { grid-template-columns: 34px minmax(0, 1fr); gap: 9px; min-height: 64px; padding: 10px; }
  .tm-post-window-links b { display: none; }
  .tm-league-flag { width: 34px; height: 34px; font-size: 18px; }
  .tm-post-window-links strong { font-size: 9px; }
  .tm-post-window-links small { font-size: 7px; }
  .tm-january-preview { grid-template-columns: 1fr; gap: 11px; }
  .tm-january-preview-action { justify-content: space-between; }
  .tm-evergreen-grid { grid-template-columns: 1fr; }
  .tm-market-directory-page { padding-right: 16px; padding-left: 16px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .tm-post-window-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 901px) {
  .tm-market-explorer .tm-team-picker-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- BARRA DI RICERCA ---------- */

.tm-search-row {
  padding-bottom: 14px;
  position: relative;
  z-index: 20;
}

.tm-search-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 10px 16px;
}
.tm-search-input:focus {
  outline: none;
  border-color: var(--flap-amber-dim);
}
.tm-search-input::placeholder {
  color: var(--text-secondary);
}

.tm-search-results {
  position: absolute;
  top: calc(100% - 8px);
  left: 0;
  right: 0;
  max-height: min(430px, 60vh);
  overflow-y: auto;
  padding: 8px;
  background: #12161D;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .42);
}
.tm-search-results[hidden] { display: none; }
.tm-search-group + .tm-search-group { margin-top: 8px; }
.tm-search-group-title {
  padding: 7px 10px 5px;
  color: var(--flap-amber);
  font: 600 11px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-search-result {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 7px 10px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 9px;
}
.tm-search-result:hover,
.tm-search-result:focus,
.tm-search-result.is-active {
  outline: none;
  background: var(--bg-panel-hover);
}
.tm-search-result-image,
.tm-search-result-placeholder {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-void);
  border: 1px solid var(--hairline);
}
.tm-search-result-placeholder {
  display: grid;
  place-items: center;
  color: var(--flap-amber);
  font: 700 14px var(--font-mono);
}
.tm-search-result-text { min-width: 0; }
.tm-search-result-name {
  display: block;
  overflow: hidden;
  color: var(--text-primary);
  font: 600 14px/1.25 var(--font-sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tm-search-result-meta {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font: 500 11px/1.2 var(--font-mono);
  text-transform: uppercase;
}
.tm-search-message {
  padding: 13px 11px;
  color: var(--text-secondary);
  font: 500 13px/1.4 var(--font-sans);
}

/* ---------- FOLLOW GIOCATORE SU TELEGRAM ---------- */
.tm-player-follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 14px;
  padding: 9px 13px;
  color: #70B7FF;
  background: #102033;
  border: 1px solid #245783;
  border-radius: 8px;
  font: 600 12px/1.25 var(--font-mono);
  text-decoration: none;
}
.tm-player-follow small {
  margin-left: 3px;
  padding-left: 9px;
  color: #9ECBF5;
  border-left: 1px solid #2D5F88;
  font: 600 10px/1.2 var(--font-mono);
  white-space: nowrap;
}
.tm-player-follow:hover,
.tm-player-follow:focus-visible {
  color: #FFFFFF;
  background: #17314D;
  outline: none;
  border-color: #3C8AC4;
}
@media (max-width: 600px) {
  .tm-player-follow {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .tm-player-follow small { margin-left: auto; }
}

@media (max-width: 600px) {
  .tm-search-results {
    max-height: 52vh;
    border-radius: 12px;
  }
  .tm-search-result { min-height: 56px; }
}

/* ---------- CHIP CAMPIONATO / DONE DEALS (varianti colore) ---------- */

.tm-chip-league {
  color: #5B9BF5;
  border-color: #1E3A5F;
}

.tm-chip-done {
  color: var(--live-green);
  border-color: #1E4A32;
}

.tm-count-badge-done {
  color: var(--live-green);
  border-color: #1E4A32;
  background: var(--live-green-bg);
}

/* ---------- NEWS CORRELATE (fondo pagina articolo) ---------- */

.tm-related {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.tm-related-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.tm-related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
}

.tm-related-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; }
.tm-related-copy small {
  color: var(--text-secondary);
  font: 10px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tm-related-item-title {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-primary);
  flex: 1;
}
.tm-related-item:hover .tm-related-item-title {
  color: var(--flap-amber);
}

@media (max-width: 600px) {
  .tm-article-player-card { align-items: flex-start; padding: 12px; }
  .tm-article-player-photo { width: 54px; height: 54px; flex-basis: 54px; }
  .tm-article-player-action { align-self: center; font-size: 10px; }
  .tm-related-item { align-items: flex-start; }
  .tm-related-item .tm-status-badge { flex: 0 0 auto; margin-top: 16px; }
}

/* ---------- ANTEPRIMA DONE DEALS (home, sotto i chip) ---------- */

.tm-done-preview {
  display: flex;
  gap: 14px;
  padding: 4px 0 16px;
  overflow-x: auto;
}

.tm-done-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
  width: 60px;
}

.tm-done-preview-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--live-green);
}

.tm-done-preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--live-green);
  background: var(--bg-panel);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--live-green);
}

.tm-done-preview-name {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
}

/* ---------- ANTEPRIMA SQUADRE (home, stemmi) ---------- */

.tm-team-preview {
  display: flex;
  gap: 14px;
  padding: 4px 0 16px;
  overflow-x: auto;
}

.tm-team-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
  width: 60px;
}

.tm-team-preview-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #E9EBEF;
  padding: 5px;
  border: 2px solid var(--flap-amber-dim);
}

.tm-team-preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--flap-amber-dim);
  background: var(--bg-panel);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--flap-amber);
}

.tm-team-preview-name {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
}

/* ---------- RIGHE INLINE: bottone + icone sulla stessa riga ---------- */

.tm-inline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tm-inline-row::-webkit-scrollbar { display: none; }

/* Il bottone "All teams →"/"Done Deals →" resta sempre visibile e
   fermo mentre scorri le icone — non scompare mai scorrendo */
.tm-inline-row .tm-chip {
  position: sticky;
  left: 0;
  z-index: 1;
  /* stesso sfondo della pagina, altrimenti le icone che scorrono
     sotto si vedrebbero attraverso il bottone durante lo scroll */
  background: var(--bg-void);
}

.tm-inline-crest {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-inline-crest img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #E9EBEF;
  display: block;
}

.tm-inline-crest-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--flap-amber);
  box-sizing: border-box;
}

/* I dettagli editoriali dell'explorer sono desktop-only. */
.tm-market-explorer-heading,
.tm-explorer-club-name,
.tm-explorer-league-code,
.tm-explorer-league-copy small,
.tm-explorer-league-arrow { display: none; }
.tm-explorer-league-copy strong { font: inherit; }
.tm-explorer-league-flag {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--bg-panel);
  font-size: 17px;
  line-height: 1;
}

/* Chromium mobile: nessuno scroller annidato nella parte alta.
   Chrome e Brave possono assegnare il gesto verticale ai contenitori con
   overflow-x:auto. Su mobile mostriamo quindi una selezione compatta e
   lasciamo lo scorrimento esclusivamente alla pagina. */
@media (max-width: 760px) {
  html, body {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y pinch-zoom !important;
  }
  header.tm-header,
  .tm-header-inner {
    height: auto;
    max-height: none;
    overflow: visible !important;
    touch-action: pan-y pinch-zoom !important;
  }
  .tm-inline-row,
  .tm-team-picker-row,
  .tm-trending-inner,
  .tm-trending-list,
  .tm-status-filters,
  .tm-team-direction-filters {
    overflow-x: visible !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto !important;
    touch-action: pan-y pinch-zoom !important;
  }
  .tm-inline-row .tm-chip {
    position: static;
  }
  .tm-inline-row .tm-inline-crest:nth-of-type(n+5) {
    display: none;
  }
  .tm-team-picker-row,
  .tm-status-filters,
  .tm-team-direction-filters {
    flex-wrap: wrap;
  }
  .tm-trending-inner {
    display: block;
  }
  .tm-trending-label {
    display: flex;
    margin-bottom: 9px;
  }
  .tm-trending-list {
    display: flex;
    flex-wrap: wrap;
  }
  .tm-trending-player:nth-child(n+4) {
    display: none;
  }
}

/* ---------- FOOTER ---------- */

.tm-footer {
  max-width: 780px;
  margin: 40px auto 0;
  padding: 20px 20px 40px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.tm-footer-links {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.tm-footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}
.tm-footer-links a:hover {
  color: var(--flap-amber);
}
.tm-footer-links .tm-footer-whatsapp { color: #42df7b; }
.tm-footer-links .tm-footer-whatsapp:hover { color: #25d366; }
.tm-footer-sep {
  margin: 0 8px;
  color: var(--hairline);
}

.tm-footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ---------- PAGINE DI CONTENUTO SEMPLICE (page.php: Terms, Privacy, About) ---------- */

.tm-simple-page {
  padding: 20px 4px 60px;
}

.tm-simple-page-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  margin: 0 0 20px;
}

.tm-simple-page-content {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
}

.tm-simple-page-content p {
  margin-bottom: 16px;
}

.tm-simple-page-content strong {
  color: var(--text-primary);
}

.tm-simple-page-content a {
  color: var(--flap-amber);
}

/* ---------- HOME DESKTOP WORKSPACE ---------- */
.tm-home-sidebar-card {
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--bg-panel);
}
.tm-home-sidebar-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.tm-home-sidebar-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--flap-amber);
  font: 700 9px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-home-sidebar-heading h2 {
  margin: 0;
  color: var(--text-primary);
  font: 700 14px/1.2 var(--font-mono);
  text-transform: uppercase;
}
.tm-home-sidebar-heading > a {
  color: var(--text-secondary);
  font: 600 9px/1.3 var(--font-mono);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.tm-home-sidebar-heading > a:hover { color: var(--flap-amber); }
.tm-home-club-list,
.tm-home-deal-list { display: grid; gap: 7px; }
.tm-home-club-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 7px 8px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--bg-void);
  color: var(--text-primary);
  text-decoration: none;
}
.tm-home-club-item:hover { border-color: var(--flap-amber-dim); }
.tm-home-club-item img,
.tm-home-club-placeholder {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 4px;
  border-radius: 50%;
  object-fit: contain;
  background: #E9EBEF;
  color: var(--flap-amber);
  font: 700 13px/1 var(--font-mono);
}
.tm-home-club-item > span { min-width: 0; }
.tm-home-club-item strong,
.tm-home-club-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-home-club-item strong { margin-bottom: 3px; font: 700 12px/1.2 var(--font-sans); }
.tm-home-club-item small { color: var(--text-secondary); font: 600 9px/1.2 var(--font-mono); text-transform: uppercase; }
.tm-home-club-item b { color: var(--flap-amber); font: 600 12px/1 var(--font-mono); }
.tm-home-deal-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-left: 2px solid var(--live-green);
  border-radius: 0 7px 7px 0;
  background: var(--bg-void);
  color: var(--text-primary);
  text-decoration: none;
}
.tm-home-deal-item:hover { background: var(--bg-panel-hover); }
.tm-home-deal-copy,
.tm-home-deal-item small { display: block; }
.tm-home-deal-item strong { display: block; font: 700 11px/1.35 var(--font-mono); }
.tm-home-deal-item small { margin-top: 5px; color: var(--text-secondary); font: 500 10px/1.35 var(--font-sans); }

/* Sidebar desktop: gerarchia più leggibile e coerente con il feed centrale. */
@media (min-width: 901px) {
  .tm-home-sidebar-heading h2 { font-size: 17px; }
  .tm-home-sidebar-heading span,
  .tm-home-sidebar-heading > a { font-size: 10px; }
  .tm-home-club-item {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 58px;
    padding: 9px 10px;
  }
  .tm-home-club-item img,
  .tm-home-club-placeholder { width: 38px; height: 38px; }
  .tm-home-club-item strong { font-size: 14px; }
  .tm-home-club-item small { font-size: 10px; }
  .tm-home-deal-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    min-height: 58px;
    padding: 10px 12px;
  }
  .tm-home-deal-item .tm-sidebar-player-photo { width: 38px; height: 38px; }
  .tm-home-deal-item strong { font-size: 14px; }
  .tm-home-deal-item small { font-size: 12px; }
}

.tm-sidebar-player-photo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-void);
  border: 1px solid var(--hairline);
}
.tm-home-deal-item .tm-sidebar-player-photo { width: 32px; height: 32px; }
.tm-sidebar-player-placeholder {
  display: grid;
  place-items: center;
  color: var(--flap-amber);
  font: 700 10px/1 var(--font-mono);
}
.tm-sidebar-player-name { min-width: 0; }

.tm-watchlist-card { position: relative; overflow: hidden; }
.tm-watchlist-card .tm-watchlist-icon {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--flap-amber);
  font-size: 20px;
}
.tm-watchlist-card > div:nth-child(2) > span {
  color: var(--flap-amber);
  font: 700 9px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-watchlist-card h2 { margin: 4px 0 0; font: 700 15px/1.2 var(--font-mono); text-transform: uppercase; }
.tm-watchlist-card p { margin: 12px 0; color: var(--text-secondary); font: 500 11px/1.55 var(--font-sans); }
.tm-watchlist-card > a,
.tm-load-more,
.tm-new-updates {
  color: var(--flap-amber);
  font: 700 10px/1.2 var(--font-mono);
  text-transform: uppercase;
  text-decoration: none;
}

.tm-market-pulse {
  display: grid;
  grid-template-columns: 1.25fr .65fr .75fr 1.35fr 1.2fr;
  align-items: stretch;
  margin-bottom: 22px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--bg-panel);
  overflow: hidden;
}
.tm-market-pulse > * { min-width: 0; padding: 11px 12px; border-right: 1px solid var(--hairline); }
.tm-market-pulse > *:last-child { border-right: 0; }
.tm-market-pulse-label { display: flex; align-items: center; gap: 7px; color: var(--text-primary); }
.tm-market-pulse-label b { font: 700 10px/1.3 var(--font-mono); text-transform: uppercase; }
.tm-market-pulse-stat strong,
.tm-market-pulse-stat span,
.tm-market-pulse a strong,
.tm-market-pulse a span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-market-pulse-stat strong { color: var(--flap-amber); font: 700 17px/1 var(--font-mono); }
.tm-market-pulse-stat span,
.tm-market-pulse a span { margin-top: 4px; color: var(--text-secondary); font: 600 8px/1.2 var(--font-mono); text-transform: uppercase; }
.tm-market-pulse a { color: var(--text-primary); text-decoration: none; }
.tm-market-pulse a strong { margin-top: 4px; font: 700 10px/1.2 var(--font-sans); }
.tm-market-pulse a:hover strong { color: var(--flap-amber); }

.tm-new-updates,
.tm-load-more {
  display: block;
  width: 100%;
  border: 1px solid var(--flap-amber-dim);
  border-radius: 9px;
  background: rgba(245, 158, 11, .06);
  cursor: pointer;
}
.tm-new-updates { margin: 0 0 10px; padding: 11px; }
.tm-new-updates[hidden] { display: none; }
.tm-load-more { margin-top: 14px; padding: 13px; }
.tm-load-more:hover,
.tm-new-updates:hover { background: rgba(245, 158, 11, .12); }
.tm-load-more[hidden] { display: none; }

@media (min-width: 901px) {
  .home .tm-header-inner { max-width: 1180px; }
  .tm-market-explorer {
    margin: 14px 0 20px;
    padding: 16px;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .045), transparent 42%), var(--bg-panel);
  }
  .tm-market-explorer-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
  }
  .tm-market-explorer-heading span {
    display: block;
    margin-bottom: 3px;
    color: var(--flap-amber);
    font: 700 9px/1.2 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .tm-market-explorer-heading h2 {
    margin: 0;
    color: var(--text-primary);
    font: 700 16px/1.2 var(--font-mono);
    text-transform: uppercase;
  }
  .tm-market-explorer-heading p {
    margin: 0;
    color: var(--text-secondary);
    font: 500 10px/1.4 var(--font-sans);
  }
  .tm-market-explorer .tm-explorer-clubs {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 9px;
    overflow: visible;
  }
  .tm-team-direction-filters { margin: 0 0 14px; }
  .tm-market-explorer .tm-inline-row .tm-chip-all {
    position: static;
    order: 99;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 78px;
    padding: 8px;
    border-radius: 9px;
    background: rgba(245, 158, 11, .08);
    font: 700 10px/1.3 var(--font-mono);
    text-transform: uppercase;
  }
  .tm-market-explorer .tm-inline-crest {
    min-width: 0;
    min-height: 78px;
    flex-direction: column;
    gap: 7px;
    padding: 7px 5px;
    border: 1px solid var(--hairline);
    border-radius: 9px;
    background: var(--bg-void);
    color: var(--text-primary);
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
  }
  .tm-market-explorer .tm-inline-crest:hover {
    transform: translateY(-2px);
    border-color: var(--flap-amber-dim);
    background: var(--bg-panel-hover);
  }
  .tm-market-explorer .tm-inline-crest img,
  .tm-market-explorer .tm-inline-crest-placeholder { width: 42px; height: 42px; }
  .tm-explorer-club-name {
    display: block;
    width: 100%;
    overflow: hidden;
    color: var(--text-secondary);
    font: 600 9px/1.15 var(--font-sans);
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .tm-market-explorer .tm-team-picker-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
  }
  .tm-market-explorer .tm-chip-league {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 12px 14px;
    border-radius: 9px;
    color: var(--text-primary);
    background: var(--bg-void);
  }
  .tm-market-explorer .tm-explorer-league-flag {
    width: 42px;
    height: 42px;
    font-size: 23px;
  }
  .tm-market-explorer .tm-chip-league:hover {
    border-color: var(--flap-amber-dim);
    background: var(--bg-panel-hover);
  }
  .tm-explorer-league-code {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 7px;
    background: rgba(245, 158, 11, .1);
    color: var(--flap-amber);
    font: 700 10px/1 var(--font-mono);
  }
  .tm-explorer-league-copy { min-width: 0; }
  .tm-explorer-league-copy strong,
  .tm-explorer-league-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tm-explorer-league-copy strong { font: 700 14px/1.25 var(--font-sans); }
  .tm-explorer-league-copy small { margin-top: 4px; color: #aab4c5; font: 500 10px/1.15 var(--font-mono); text-transform: uppercase; }
  .tm-explorer-league-arrow { display: block; color: var(--flap-amber); font: 700 15px/1 var(--font-mono); }
  .tm-home-desktop-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    grid-template-areas: "primary sidebar";
    align-items: start;
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 70px;
  }
  .tm-home-primary { grid-area: primary; min-width: 0; }
  .tm-home-sidebar {
    grid-area: sidebar;
    display: grid;
    gap: 14px;
    position: sticky;
    top: 18px;
    min-width: 0;
    align-self: start;
    overflow: visible;
  }
  .tm-home-primary .tm-feed-intro {
    max-width: none;
    margin: 0;
    padding: 0 0 16px;
  }
  .tm-home-primary main.tm-main {
    max-width: none;
    margin: 0;
    padding: 8px 0 0;
  }
  .tm-home-sidebar .tm-trending { border: 0; background: transparent; }
  .tm-home-sidebar .tm-trending-inner {
    display: block;
    max-width: none;
    padding: 18px;
    border: 1px solid var(--hairline);
    border-radius: 10px;
    background: var(--bg-panel);
  }
  .tm-home-sidebar .tm-trending-label { display: block; margin-bottom: 12px; }
  .tm-home-sidebar .tm-trending-heading b { color: var(--text-primary); font-size: 17px; }
  .tm-home-sidebar .tm-trending-heading em { font-size: 10px; }
  .tm-home-sidebar .tm-trending-label small { display: block; margin-top: 5px; font-size: 11px; white-space: normal; }
  .tm-home-sidebar .tm-trending-list { display: grid; gap: 7px; overflow: visible; }
  .tm-home-sidebar .tm-trending-player {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 14px;
    white-space: normal;
  }
  .tm-home-sidebar .tm-trending-player .tm-sidebar-player-photo { width: 38px; height: 38px; }
  .tm-home-sidebar .tm-trending-player > [hidden] { display: none; }
  .tm-home-sidebar .tm-trending-player > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tm-home-sidebar .tm-trending-player small { flex: 0 0 auto; font-size: 10px; }
}

@media (max-width: 900px) {
  .tm-home-sidebar-secondary { display: none; }
  .tm-home-sidebar .tm-sidebar-player-photo { display: none; }
  .tm-market-pulse { display: none; }
  .tm-load-more { margin-left: 16px; width: calc(100% - 32px); }
}

/* ---------- HOME MOBILE POLISH v8.32 ---------- */
@media (max-width: 760px) {
  /* Club: nomi sempre visibili e quattro accessi rapidi, senza caroselli. */
  .tm-market-explorer .tm-explorer-clubs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 0 0 10px;
  }
  .tm-market-explorer .tm-explorer-clubs .tm-chip-all {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 13px;
  }
  .tm-market-explorer .tm-explorer-clubs .tm-inline-crest {
    display: flex;
    min-width: 0;
    min-height: 56px;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: 8px 10px;
    border: 1px solid var(--hairline);
    border-radius: 9px;
    background: var(--bg-panel);
    color: var(--text-primary);
    text-decoration: none;
  }
  .tm-market-explorer .tm-explorer-clubs .tm-inline-crest:nth-of-type(n+5) { display: flex; }
  .tm-market-explorer .tm-explorer-clubs .tm-inline-crest:nth-of-type(n+6) { display: none; }
  .tm-market-explorer .tm-explorer-clubs .tm-inline-crest img,
  .tm-market-explorer .tm-explorer-clubs .tm-inline-crest-placeholder {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 13px;
  }
  .tm-market-explorer .tm-explorer-clubs .tm-explorer-club-name {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--text-primary);
    font: 600 11px/1.2 var(--font-sans);
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Campionati explorer: sei tessere uguali, due per riga. */
  .tm-market-explorer .tm-team-picker-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
  }
  .tm-market-explorer .tm-chip-league {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 54px;
    padding: 8px 9px;
    border-radius: 9px;
    color: var(--text-primary);
    background: var(--bg-panel);
  }
  .tm-market-explorer .tm-explorer-league-flag {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  .tm-market-explorer .tm-explorer-league-copy strong {
    display: block;
    overflow: hidden;
    color: var(--text-primary);
    font: 700 11px/1.2 var(--font-sans);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Trending: contenitore più pulito, righe uniformi e senza vuoti. */
  .tm-home-sidebar .tm-trending {
    margin: 0 12px 14px;
    border: 0;
    background: transparent;
  }
  .tm-home-sidebar .tm-trending-inner {
    display: block;
    padding: 14px;
    border: 1px solid var(--flap-amber-dim);
    border-radius: 11px;
    background: var(--bg-panel);
  }
  .tm-home-sidebar .tm-trending-label { margin-bottom: 10px; }
  .tm-home-sidebar .tm-trending-label small {
    display: block;
    margin-top: 4px;
    white-space: normal;
  }
  .tm-home-sidebar .tm-trending-list { display: grid; gap: 7px; }
  .tm-home-sidebar .tm-trending-player {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
  }
  .tm-home-sidebar .tm-trending-player > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Market hub: quattro scorciatoie in una griglia compatta 2x2. */
  .tm-post-window-hub {
    margin: 0 12px 24px;
    padding: 15px;
    border-radius: 12px;
  }
  .tm-post-window-heading { margin-bottom: 14px; }
  .tm-post-window-heading h2 { font-size: 19px; }
  .tm-post-window-heading p { font-size: 10px; line-height: 1.45; }
  .tm-post-window-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .tm-post-window-grid > a {
    min-height: 116px;
    padding: 13px 28px 13px 13px;
  }
  .tm-post-window-eyebrow { margin-bottom: 14px; font-size: 7px; }
  .tm-post-window-grid strong {
    margin-bottom: 8px;
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
  }
  .tm-post-window-grid small {
    font-size: 8px;
    line-height: 1.35;
    white-space: normal;
  }
  .tm-post-window-arrow { right: 10px; }

  /* Directory campionati: più gerarchia e meno altezza. */
  .tm-post-window-leagues { margin-top: 16px; }
  .tm-post-window-subheading { margin-bottom: 10px; }
  .tm-post-window-links { gap: 8px; }
  .tm-post-window-links a {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 68px;
    padding: 9px;
    background: rgba(8, 12, 17, .62);
  }
  .tm-post-window-links strong { font-size: 9px; line-height: 1.25; }
  .tm-post-window-links small { font-size: 6.5px; line-height: 1.3; }
  .tm-post-window-links .tm-league-flag { width: 36px; height: 36px; font-size: 19px; }
  .tm-january-preview { margin-top: 14px; padding: 13px; }
}

/* ---------- HOME INFORMATION ARCHITECTURE v8.33 ---------- */
.tm-explorer-all-teams {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  color: var(--flap-amber);
  font: 700 9px/1.2 var(--font-mono);
  text-decoration: none;
  text-transform: uppercase;
}
.tm-explorer-all-teams:hover { color: var(--text-primary); }

.tm-january-watch-home {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--hairline);
}
.tm-january-watch-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 11px;
}
.tm-january-watch-head span {
  display: block;
  margin-bottom: 4px;
  color: #38bdf8;
  font: 700 10px/1.2 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tm-january-watch-head h3 { margin: 0; font: 700 17px/1.2 var(--font-mono); letter-spacing: .03em; text-transform: uppercase; }
.tm-january-watch-head a { color: var(--flap-amber); font: 700 10px/1.2 var(--font-mono); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.tm-january-watch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tm-january-watch-player {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 66px;
  padding: 10px;
  border: 1px solid var(--hairline);
  border-radius: 9px;
  background: rgba(8, 12, 17, .62);
  color: var(--text-primary);
  text-decoration: none;
}
.tm-january-watch-player:hover { border-color: #2d6c92; background: var(--bg-panel-hover); }
.tm-january-watch-player img,
.tm-january-watch-fallback { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--bg-void); }
.tm-january-watch-fallback { display: grid; place-items: center; border: 1px solid var(--hairline); color: #38bdf8; font: 700 11px/1 var(--font-mono); }
.tm-january-watch-copy { min-width: 0; }
.tm-january-watch-copy strong,
.tm-january-watch-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-january-watch-copy strong { margin-bottom: 5px; font: 700 14px/1.2 var(--font-mono); }
.tm-january-watch-copy small { color: var(--text-secondary); font: 500 13px/1.35 var(--font-sans); }
.tm-january-watch-status { padding: 4px 6px; border-radius: 4px; color: #60a5fa; background: #0b1d35; font: 700 9px/1 var(--font-mono); font-style: normal; text-transform: uppercase; }
.tm-january-watch-status.advanced { color: var(--flap-amber); background: #251b08; }

.tm-status-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.tm-status-filters button > span { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; font: 700 8px/1 var(--font-mono); }
.tm-filter-all > span { color: var(--flap-amber); background: rgba(245, 158, 11, .12); }
.tm-filter-rumour > span { color: #60a5fa; background: #0b1d35; }
.tm-filter-advanced > span { color: var(--flap-amber); background: #251b08; }
.tm-filter-done > span { color: var(--live-green); background: var(--live-green-bg); }
.tm-filter-rumour.active { color: #7db4ff; border-color: #2d5f88; background: #0b1d35; }
.tm-filter-advanced.active { color: var(--flap-amber); border-color: var(--flap-amber-dim); background: #251b08; }
.tm-filter-done.active { color: var(--live-green); border-color: #1e4a32; background: var(--live-green-bg); }
.tm-mobile-directory { display: none; }

@media (max-width: 760px) {
  .tm-market-explorer .tm-explorer-clubs { display: none; }
  .tm-market-explorer .tm-team-picker-row { padding-top: 2px; }
  .tm-explorer-all-teams { justify-content: center; margin-top: 10px; padding: 9px; border: 1px solid var(--flap-amber-dim); border-radius: 8px; background: rgba(245, 158, 11, .06); }

  .tm-home-sidebar .tm-trending-player {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    min-height: 52px;
  }
  .tm-home-sidebar .tm-sidebar-player-photo {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .tm-january-watch-home { margin-top: 16px; padding-top: 15px; }
  .tm-january-watch-head { align-items: center; }
  .tm-january-watch-head h3 { font-size: 17px; }
  .tm-january-watch-grid { grid-template-columns: 1fr; }
  .tm-january-watch-player { grid-template-columns: 42px minmax(0, 1fr) auto; min-height: 62px; padding: 9px; }
  .tm-january-watch-copy strong { font-size: 13px; }
  .tm-january-watch-copy small { font-size: 12px; }

  .tm-status-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    padding-bottom: 8px;
  }
  .tm-status-filters .tm-chip {
    min-width: 0;
    padding: 7px 4px;
    border-radius: 9px;
    font-size: 8.5px;
    line-height: 1;
    white-space: nowrap;
  }
  .tm-status-filters button > span { width: 15px; height: 15px; font-size: 7px; }
}

/* ---------- LEAGUE NEWS GROUPED BY CLUB v8.33 ---------- */
.tm-league-club-news { margin: 0 4px 30px; }
.tm-league-section-head { margin-bottom: 12px; }
.tm-league-section-head > span { display: block; margin-bottom: 4px; color: #60a5fa; font: 700 8px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.tm-league-section-head h2 { margin: 0; font: 700 17px/1.2 var(--font-mono); text-transform: uppercase; }

/* ---------- HOME NAVIGATION & FILTER CONSISTENCY v8.46 ---------- */
.tm-sidebar-player-copy { min-width: 0; }
.tm-sidebar-player-copy strong,
.tm-sidebar-player-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tm-sidebar-player-copy strong { color: var(--text-primary); font: 700 14px/1.2 var(--font-sans); }
.tm-sidebar-player-copy em { margin-top: 3px; color: var(--text-secondary); font: 500 10px/1.25 var(--font-sans); font-style: normal; }
.tm-trending-player > [hidden] { display: none !important; }

.tm-team-direction-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.tm-team-direction-filters button > span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  font: 700 8px/1 var(--font-mono);
}
.tm-team-filter-all > span { color: var(--flap-amber); background: rgba(245, 158, 11, .12); }
.tm-team-filter-incoming > span { color: #60a5fa; background: #0b1d35; }
.tm-team-filter-outgoing > span { color: #f59e0b; background: #251b08; }
.tm-team-filter-done > span { color: var(--live-green); background: var(--live-green-bg); }

@media (min-width: 901px) {
  .tm-home-desktop-grid {
    grid-template-areas:
      "leagues leagues"
      "primary sidebar";
  }
  .tm-home-leagues {
    grid-area: leagues;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
  .tm-home-sidebar > .tm-trending,
  .tm-home-sidebar > .tm-home-sidebar-card {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    box-sizing: border-box;
  }
  .tm-home-sidebar .tm-trending-inner { width: 100%; box-sizing: border-box; }
}

@media (max-width: 900px) {
  .tm-home-desktop-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0 0 64px;
  }
  .tm-home-primary,
  .tm-home-sidebar { display: contents; }
  .tm-post-window-hub { order: 1; }
  .tm-home-sidebar > .tm-trending { order: 2; }
  .tm-home-leagues { order: 3; }
  .tm-feed-intro { order: 4; }
  .tm-new-updates { order: 5; }
  main.tm-main { order: 6; }
  .tm-load-more { order: 7; }
  .tm-home-sidebar-secondary,
  .tm-market-pulse { display: none; }
}

@media (max-width: 760px) {
  .tm-home-leagues {
    margin: 0 12px 24px;
    padding: 15px;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    background: var(--bg-panel);
  }
  .tm-market-explorer-heading {
    display: block;
    margin-bottom: 13px;
  }
  .tm-market-explorer-heading span {
    display: block;
    margin-bottom: 4px;
    color: var(--flap-amber);
    font: 700 9px/1.2 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .tm-market-explorer-heading h2 {
    margin: 0;
    color: var(--text-primary);
    font: 700 17px/1.2 var(--font-mono);
    text-transform: uppercase;
  }
  .tm-market-explorer-heading p {
    margin: 6px 0 0;
    color: var(--text-secondary);
    font: 500 11px/1.45 var(--font-sans);
  }

  .tm-home-sidebar .tm-trending { margin: 0 12px 24px; }
  .tm-home-sidebar .tm-trending-inner { padding: 14px; }
  .tm-home-sidebar .tm-trending-player {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 62px;
    padding: 8px 10px;
  }
  .tm-home-sidebar .tm-trending-player:nth-child(n+4) { display: none; }
  .tm-home-sidebar .tm-sidebar-player-photo {
    display: block;
    width: 40px;
    height: 40px;
  }
  .tm-home-sidebar .tm-sidebar-player-placeholder { display: grid; }
  .tm-home-sidebar .tm-sidebar-player-copy strong { font-size: 13px; }
  .tm-home-sidebar .tm-sidebar-player-copy em { font-size: 10px; }
  .tm-home-sidebar .tm-trending-player small { font-size: 9px; white-space: nowrap; }

  .tm-post-window-heading h2 { font-size: 20px; }
  .tm-post-window-heading p { font-size: 11px; }
  .tm-post-window-grid > a { min-height: 104px; }
  .tm-post-window-grid strong { white-space: normal; }

  .tm-status-filters,
  .tm-team-direction-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    overflow: visible;
  }
  .tm-status-filters .tm-chip,
  .tm-team-direction-filters .tm-chip {
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }
  .tm-status-filters button > span,
  .tm-status-filters a > span,
  .tm-team-direction-filters button > span {
    width: 20px;
    height: 20px;
    font-size: 8px;
  }
  .tm-status-filters .tm-mobile-directory {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }
  .tm-status-filters .tm-mobile-directory > span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    font: 700 8px/1 var(--font-mono);
  }
  .tm-directory-free > span { color: #35d07f; background: #12261c; }
  .tm-directory-contracts > span { color: #cbd5e1; background: #202631; }
  .tm-directory-values > span { color: var(--flap-amber); background: #251b08; }
  .tm-hub-quicklinks { display: none; }
}
.tm-league-club-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-league-club-news-card { overflow: hidden; border: 1px solid var(--hairline); border-radius: 10px; background: var(--bg-panel); }
.tm-league-club-news-card > header { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--hairline); }
.tm-league-club-news-card > header img,
.tm-league-club-news-card > header .tm-league-club-placeholder { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; }
.tm-league-club-news-card > header div { min-width: 0; }
.tm-league-club-news-card h3 { overflow: hidden; margin: 0 0 3px; font: 700 12px/1.2 var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.tm-league-club-news-card header small { color: var(--text-secondary); font: 500 8px/1.2 var(--font-sans); }
.tm-league-club-news-card header > a { color: var(--flap-amber); text-decoration: none; }
.tm-league-club-headlines { display: grid; }
.tm-league-club-headlines > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 43px; padding: 8px 12px; border-bottom: 1px solid rgba(35, 40, 51, .72); color: var(--text-secondary); text-decoration: none; }
.tm-league-club-headlines > a:last-child { border-bottom: 0; }
.tm-league-club-headlines > a:hover { color: var(--text-primary); background: var(--bg-panel-hover); }
.tm-league-club-headlines > a > span { overflow: hidden; font: 600 9px/1.35 var(--font-sans); text-overflow: ellipsis; white-space: nowrap; }
.tm-league-club-headlines em { padding: 3px 5px; border-radius: 3px; color: #60a5fa; background: #0b1d35; font: 700 6px/1 var(--font-mono); font-style: normal; text-transform: uppercase; }
.tm-league-club-headlines em.advanced { color: var(--flap-amber); background: #251b08; }
.tm-league-club-headlines em.done { color: var(--live-green); background: var(--live-green-bg); }

@media (max-width: 600px) {
  .tm-league-club-news-grid { grid-template-columns: 1fr; }
  .tm-league-club-news-card h3 { font-size: 11px; }
  .tm-league-club-headlines > a > span { font-size: 9px; }
}

/* ---------- LEAGUE PAGE READABILITY v8.35 ---------- */
.tax-campionato .tm-main { max-width: 980px; }
.tax-campionato .tm-back-link { color: #b8c2d3; font-size: 14px; }
.tax-campionato .tm-taxonomy-kicker { font-size: 11px; }
.tax-campionato .tm-team-title { font-size: clamp(27px, 3vw, 34px); line-height: 1.12; }
.tax-campionato .tm-league-intro { margin-bottom: 22px; color: #b8c2d3; font-size: 17px; line-height: 1.6; }
.tax-campionato .tm-taxonomy-stats { gap: 10px; margin-bottom: 30px; }
.tax-campionato .tm-taxonomy-stats div { padding: 17px 15px; }
.tax-campionato .tm-taxonomy-stats strong { font-size: 26px; }
.tax-campionato .tm-taxonomy-stats span { margin-top: 5px; color: #b8c2d3; font-size: 14px; }
.tax-campionato .tm-insight-section { margin-bottom: 34px; }
.tax-campionato .tm-insight-section > h2 { margin-bottom: 13px; font-size: 13px; }
.tax-campionato .tm-insight-players { gap: 10px; }
.tax-campionato .tm-insight-player { gap: 11px; min-height: 66px; padding: 11px; }
.tax-campionato .tm-insight-player-photo { width: 48px; height: 48px; flex-basis: 48px; }
.tax-campionato .tm-insight-player strong { font-size: 16px; }
.tax-campionato .tm-insight-player small { margin-top: 5px; color: #b8c2d3; font-size: 13px; }
.tax-campionato .tm-insight-player b { font-size: 14px; }
.tax-campionato .tm-league-club-news { margin-bottom: 36px; }
.tax-campionato .tm-league-section-head { margin-bottom: 15px; }
.tax-campionato .tm-league-section-head > span { font-size: 10px; }
.tax-campionato .tm-league-section-head h2 { font-size: 22px; }
.tax-campionato .tm-league-club-news-grid { gap: 12px; }
.tax-campionato .tm-league-club-news-card > header { display: block; padding: 0; }
.tax-campionato .tm-league-club-header-link {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  color: var(--text-primary);
  text-decoration: none;
}
.tax-campionato .tm-league-club-header-link:hover { background: var(--bg-panel-hover); }
.tax-campionato .tm-league-club-header-link img,
.tax-campionato .tm-league-club-header-link .tm-league-club-placeholder { width: 46px; height: 46px; }
.tax-campionato .tm-league-club-header-link b { color: var(--flap-amber); font-size: 17px; }
.tax-campionato .tm-league-club-placeholder[hidden] { display: none; }
.tax-campionato .tm-league-club-news-card h3 { margin-bottom: 5px; font-size: 16px; }
.tax-campionato .tm-league-club-news-card header small { color: #b8c2d3; font-size: 13px; }
.tax-campionato .tm-league-club-news-card header > a { font-size: 17px; }
.tax-campionato .tm-league-club-headlines > a { min-height: 54px; padding: 11px 15px; }
.tax-campionato .tm-league-club-headlines > a { color: var(--text-secondary); }
.tax-campionato .tm-league-club-headlines > a > span {
  display: -webkit-box;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tax-campionato .tm-league-club-headlines em { padding: 5px 7px; font-size: 9px; }
.tax-campionato .tm-league-feed-title { margin-bottom: 18px; font-size: 21px; }
.tax-campionato .tm-league-section-head p,
.tax-campionato .tm-league-feed-heading p { margin: 6px 0 0; color: #aab4c5; font: 400 13px/1.45 var(--font-sans); }
.tax-campionato .tm-league-feed-heading { margin: 0 4px 18px; }
.tax-campionato .tm-league-feed-heading .tm-league-feed-title { margin: 0; }

@media (max-width: 600px) {
  .tax-campionato .tm-main { padding-right: 16px; padding-left: 16px; }
  .tax-campionato .tm-team-title { font-size: 26px; }
  .tax-campionato .tm-back-link { font-size: 13px; }
  .tax-campionato .tm-taxonomy-kicker { font-size: 10px; }
  .tax-campionato .tm-league-intro { font-size: 16px; }
  .tax-campionato .tm-taxonomy-stats div { padding: 14px 12px; }
  .tax-campionato .tm-taxonomy-stats strong { font-size: 23px; }
  .tax-campionato .tm-taxonomy-stats span { font-size: 13px; }
  .tax-campionato .tm-insight-section > h2 { font-size: 12px; }
  .tax-campionato .tm-insight-player { min-height: 64px; }
  .tax-campionato .tm-insight-player strong { font-size: 16px; }
  .tax-campionato .tm-insight-player small { font-size: 13px; }
  .tax-campionato .tm-league-section-head h2 { font-size: 20px; }
  .tax-campionato .tm-league-club-header-link { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 13px; }
  .tax-campionato .tm-league-club-header-link img,
  .tax-campionato .tm-league-club-header-link .tm-league-club-placeholder { width: 44px; height: 44px; }
  .tax-campionato .tm-league-club-news-card h3 { font-size: 15px; }
  .tax-campionato .tm-league-club-news-card header small { font-size: 12px; }
  .tax-campionato .tm-league-club-headlines > a { min-height: 56px; padding: 11px 12px; }
  .tax-campionato .tm-league-club-headlines > a > span { font-size: 13px; }
  .tax-campionato .tm-league-club-headlines em { font-size: 9px; }
  .tax-campionato .tm-league-feed-title { font-size: 19px; }
  .tax-campionato .tm-league-section-head p,
  .tax-campionato .tm-league-feed-heading p { font-size: 12px; }
}

/* v8.52 final cascade: primary tracker + balanced utility grid. */
@media (min-width: 901px) {
  .tm-post-window-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .tm-post-window-grid > .tm-post-window-card-tracker {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(260px,.8fr) 24px;
    grid-template-areas:"eyebrow description arrow" "title description arrow";
    align-items:center;
    column-gap:24px;
    min-height:94px;
    padding:17px 20px;
    border-color:rgba(53,208,127,.38);
    background:linear-gradient(105deg,rgba(53,208,127,.10),rgba(8,12,17,.72) 58%);
  }
  .tm-post-window-card-tracker .tm-post-window-eyebrow { grid-area:eyebrow; align-self:end; margin:0 0 7px; font-size:9px; }
  .tm-post-window-card-tracker strong { grid-area:title; align-self:start; min-height:0; margin:0; font-size:17px; }
  .tm-post-window-card-tracker small { grid-area:description; color:#b8c2d3; font-size:11px; line-height:1.5; white-space:normal; }
  .tm-post-window-card-tracker .tm-post-window-arrow { grid-area:arrow; position:static; justify-self:end; font-size:19px; transform:none; }
  .tm-post-window-grid > a:not(.tm-post-window-card-tracker) { min-height:120px; padding:16px 34px 16px 16px; }
  .tm-post-window-grid > a:not(.tm-post-window-card-tracker) strong { min-height:32px; font-size:12px; line-height:1.3; white-space:normal; }
  .tm-post-window-grid > a:not(.tm-post-window-card-tracker) small { white-space:normal; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .tm-post-window-grid > .tm-post-window-card-tracker { grid-column:1/-1; }
}

@media (max-width: 760px) {
  .tm-post-window-grid > .tm-post-window-card-tracker {
    grid-column:1/-1;
    min-height:96px;
    border-color:rgba(53,208,127,.38);
    background:linear-gradient(110deg,rgba(53,208,127,.10),rgba(8,12,17,.72));
  }
  .tm-post-window-card-tracker strong { font-size:13px; }
  .tm-post-window-card-tracker small { padding-right:18px; color:#b8c2d3; font-size:9px; }
}

/* Compact seasonal action: informative, clickable and mobile-first. */
.tm-deadline-countdown {
  position:relative;
  min-height:50px;
  padding:9px 42px 9px 13px;
  gap:9px 14px;
  color:inherit;
  text-decoration:none;
  transition:border-color .18s ease,background-color .18s ease;
}
.tm-deadline-countdown::after {
  content:'\2192';
  position:absolute;
  right:15px;
  top:50%;
  color:var(--live-green);
  font:700 16px/1 var(--font-mono);
  transform:translateY(-50%);
}
.tm-deadline-countdown:hover,.tm-deadline-countdown:focus-visible { border-color:var(--live-green); background:#102b20; outline:none; }
.tm-deadline-countdown .tm-deadline-label { flex:0 0 auto; font-size:9px; font-weight:700; }
.tm-deadline-countdown .tm-deadline-value { min-width:0; font-size:12px; line-height:1.35; }

@media (max-width:760px) {
  .tm-window-closed.tm-deadline-countdown { align-items:flex-start; flex-direction:column; min-height:0; padding:10px 40px 10px 12px; gap:4px; }
  .tm-deadline-countdown .tm-deadline-label { font-size:8px; }
  .tm-deadline-countdown .tm-deadline-value { font-size:11px; }
}

/* v8.75 — Refined performance-to-market discovery with clearer metrics. */
.tm-performance-home.tm-breakout-home{position:relative;overflow:hidden;padding:0;border-color:rgba(66,211,255,.48);background:linear-gradient(145deg,#101b29,#0b1017 70%)}
.tm-performance-home-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;min-height:250px;padding:34px;background:radial-gradient(circle at 86% 35%,rgba(53,208,127,.14),transparent 27%),radial-gradient(circle at 72% 0,rgba(66,211,255,.19),transparent 38%)}
.tm-performance-home-copy{position:relative;z-index:2;max-width:720px}
.tm-performance-kicker,.tm-discovery-hero>div>span,.tm-discovery-next span,.tm-player-performance-lead>span,.tm-player-no-signal>span{color:#42d3ff;font:800 10px/1.2 var(--font-mono);letter-spacing:.12em;text-transform:uppercase}
.tm-performance-home-copy h2{margin:9px 0 14px;color:#f5f8fc;font:900 clamp(34px,5vw,62px)/.95 var(--font-display);letter-spacing:.02em;text-transform:uppercase}
.tm-performance-home-copy p{max-width:610px;margin:0;color:#b4bfce;font-size:15px;line-height:1.65}
.tm-performance-home-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.tm-performance-home-actions a{padding:11px 14px;border:1px solid #354253;border-radius:999px;color:#c9d4e1;font:800 10px/1 var(--font-mono);text-decoration:none;text-transform:uppercase}
.tm-performance-home-actions .tm-performance-primary-action{border-color:#42d3ff;color:#07131b;background:#42d3ff}
.tm-performance-home-actions a:hover,.tm-performance-home-actions a:focus-visible{border-color:#35d07f;color:#06130d;background:#35d07f;outline:none}
.tm-performance-orbit{position:relative;width:170px;height:170px;border:1px solid rgba(66,211,255,.25);border-radius:50%;box-shadow:inset 0 0 42px rgba(66,211,255,.06),0 0 65px rgba(53,208,127,.07)}
.tm-performance-orbit:before,.tm-performance-orbit:after{content:'';position:absolute;border:1px solid rgba(66,211,255,.18);border-radius:50%;inset:24px}.tm-performance-orbit:after{inset:55px;background:#42d3ff;box-shadow:0 0 28px rgba(66,211,255,.55)}
.tm-performance-orbit b,.tm-performance-orbit span,.tm-performance-orbit em{position:absolute;z-index:2;padding:6px 8px;border:1px solid #2b3d4e;border-radius:999px;color:#aeeeff;background:#0c151f;font:800 8px/1 var(--font-mono);font-style:normal}.tm-performance-orbit b{top:9px;left:59px;color:#55e59c}.tm-performance-orbit span{top:78px;right:-17px}.tm-performance-orbit em{bottom:10px;left:44px;color:#f4b84c}
.tm-breakout-home>.tm-performance-home-grid{padding:0 26px 22px}
.tm-breakout-home .tm-performance-player.is-compact{min-height:178px;border-color:#2a394b;background:linear-gradient(160deg,rgba(15,24,35,.98),rgba(7,12,18,.94))}
.tm-breakout-home a.tm-performance-player.is-compact:after{content:'Open profile \2192';position:absolute;right:13px;bottom:12px;color:#6f7f91;font:700 7px/1 var(--font-mono);text-transform:uppercase}
.tm-performance-paths{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 26px 20px}
.tm-performance-paths a{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:11px;align-items:start;min-height:116px;padding:16px 32px 15px 14px;border:1px solid #2b394a;border-radius:14px;color:inherit;background:linear-gradient(145deg,rgba(17,27,40,.98),rgba(8,13,20,.94));box-shadow:inset 0 1px rgba(255,255,255,.025);text-decoration:none;transition:transform .18s ease,border-color .18s ease,background-color .18s ease}
.tm-performance-paths a:before{content:'';position:absolute;top:-1px;right:18px;left:18px;height:2px;border-radius:0 0 3px 3px;background:#42d3ff;opacity:.75}
.tm-performance-paths a:hover,.tm-performance-paths a:focus-visible{border-color:#42d3ff;background:#10202d;transform:translateY(-2px);outline:none}
.tm-performance-path-icon{display:grid;width:40px;height:40px;place-items:center;border:1px solid rgba(66,211,255,.35);border-radius:11px;color:#7de3ff;background:rgba(66,211,255,.09);font:900 12px/1 var(--font-mono)}
.tm-performance-path-copy{display:flex;min-width:0;flex-direction:column}.tm-performance-path-copy small{color:#7f8da0;font:700 8px/1.2 var(--font-mono);letter-spacing:.04em;text-transform:uppercase}.tm-performance-path-copy strong{margin-top:5px;color:#f2f6fb;font:850 13px/1.2 var(--font-display);text-transform:uppercase}.tm-performance-path-copy em{margin-top:7px;color:#8f9caf;font:500 9px/1.35 var(--font-sans);font-style:normal}.tm-performance-paths>a>b{position:absolute;right:13px;bottom:15px;color:#35d07f;font:800 14px/1 var(--font-mono)}
.tm-performance-path-young:before{background:#35d07f!important}.tm-performance-path-young .tm-performance-path-icon{border-color:rgba(53,208,127,.38);color:#72e8aa;background:rgba(53,208,127,.09)}.tm-performance-path-position:before{background:#f4b84c!important}.tm-performance-path-position .tm-performance-path-icon{border-color:rgba(244,184,76,.38);color:#f4c66d;background:rgba(244,184,76,.09)}.tm-performance-path-compare:before{background:#b391ff!important}.tm-performance-path-compare .tm-performance-path-icon{border-color:rgba(179,145,255,.4);color:#c8adff;background:rgba(179,145,255,.09)}
.tm-breakout-home>.tm-performance-source{margin:0;padding:0 26px 22px}

.tm-radar-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:-5px 0 30px}.tm-radar-entry-grid a{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-areas:'icon small' 'icon title' 'icon copy';gap:4px 11px;min-height:108px;padding:16px;border:1px solid #293747;border-radius:14px;color:inherit;background:#101721;text-decoration:none}.tm-radar-entry-grid a:hover,.tm-radar-entry-grid a:focus-visible{border-color:#42d3ff;transform:translateY(-2px);outline:none}.tm-radar-entry-grid span{grid-area:icon;display:grid;width:38px;height:38px;place-items:center;border-radius:11px;color:#42d3ff;background:#10273a;font:900 18px/1 var(--font-mono)}.tm-radar-entry-grid small{grid-area:small;color:#738398;font:700 8px/1 var(--font-mono);text-transform:uppercase}.tm-radar-entry-grid strong{grid-area:title;color:#f0f4f9;font:800 12px/1.2 var(--font-display);text-transform:uppercase}.tm-radar-entry-grid em{grid-area:copy;color:#8f9caf;font:500 10px/1.35 var(--font-sans);font-style:normal}

.tm-discovery-page,.tm-compare-page{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:48px 0 80px}.tm-discovery-hero{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:35px;align-items:end;margin:22px 0 24px;padding:30px;border:1px solid #2b3d50;border-radius:20px;background:radial-gradient(circle at 90% 0,rgba(66,211,255,.16),transparent 38%),linear-gradient(145deg,#121c2a,#0c1118)}.tm-discovery-hero h1{max-width:810px;margin:8px 0 13px;color:#f5f8fc;font:900 clamp(34px,5vw,62px)/.98 var(--font-display);text-transform:uppercase}.tm-discovery-hero p{max-width:730px;color:#acb8c7;font-size:15px;line-height:1.6}.tm-discovery-hero aside{display:flex;flex-direction:column;gap:7px;padding:16px;border:1px solid #304154;border-radius:13px;background:rgba(7,12,18,.72)}.tm-discovery-hero aside strong{color:#42d3ff;font:800 14px/1.2 var(--font-mono)}.tm-discovery-hero aside small,.tm-discovery-hero aside span{color:#8493a6;font:700 9px/1.3 var(--font-mono);text-transform:uppercase}
.tm-discovery-nav{display:flex;gap:7px;margin:0 0 30px;padding-bottom:5px;overflow-x:auto}.tm-discovery-nav a{flex:0 0 auto;padding:9px 11px;border:1px solid #293545;border-radius:999px;color:#9ca9ba;font:700 9px/1 var(--font-mono);text-decoration:none;text-transform:uppercase}.tm-discovery-nav a:hover,.tm-discovery-nav a:focus-visible,.tm-discovery-nav a.is-active{border-color:#42d3ff;color:#07131b;background:#42d3ff;outline:none}.tm-discovery-sections{display:grid;gap:40px}.tm-discovery-ranking{margin-top:12px}.tm-discovery-next{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:38px;padding:26px;border:1px solid rgba(53,208,127,.35);border-radius:16px;background:linear-gradient(115deg,rgba(53,208,127,.09),#10161f 58%)}.tm-discovery-next h2{margin:6px 0 9px;color:#f2f7fa;font:850 23px/1.1 var(--font-display);text-transform:uppercase}.tm-discovery-next p{max-width:760px;color:#9eabbc;line-height:1.55}.tm-discovery-next>a{flex:0 0 auto;padding:11px 14px;border:1px solid #35d07f;border-radius:999px;color:#70e7a7;font:800 9px/1 var(--font-mono);text-decoration:none;text-transform:uppercase}.tm-performance-section-title>a{color:#7ddcff;font:700 9px/1 var(--font-mono);text-decoration:none;text-transform:uppercase}

.tm-player-performance-snapshot{display:grid;grid-template-columns:minmax(0,1fr) 150px;grid-template-areas:'lead score' 'facts facts';gap:20px;margin:24px 0;padding:24px;border:1px solid rgba(66,211,255,.38);border-radius:17px;background:radial-gradient(circle at 90% 0,rgba(66,211,255,.12),transparent 32%),#111821}.tm-player-performance-lead{grid-area:lead}.tm-player-performance-lead h2{margin:6px 0 9px;color:#f3f7fb;font:850 24px/1.1 var(--font-display);text-transform:uppercase}.tm-player-performance-lead p{max-width:680px;color:#9eabbc;font-size:13px;line-height:1.55}.tm-player-performance-lead>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.tm-player-performance-lead a{padding:8px 10px;border:1px solid #344254;border-radius:999px;color:#9ce6ff;font:700 8px/1 var(--font-mono);text-decoration:none;text-transform:uppercase}.tm-player-performance-score{grid-area:score;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid rgba(66,211,255,.32);border-radius:14px;background:#0c151f}.tm-player-performance-score small{color:#7d899a;font:700 8px/1 var(--font-mono);text-transform:uppercase}.tm-player-performance-score strong{margin:6px 0 4px;color:#59dcff;font:900 44px/1 var(--font-display)}.tm-player-performance-score strong em{color:#77869a;font:700 9px/1 var(--font-mono);font-style:normal}.tm-player-performance-score>span{color:#8d9aab;font:700 8px/1 var(--font-mono);text-transform:uppercase}.tm-player-performance-facts{grid-area:facts;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tm-player-performance-facts div{padding:13px;border:1px solid #293646;border-radius:10px;background:#0b1118}.tm-player-performance-facts dt{color:#7d8b9e;font:700 8px/1 var(--font-mono);text-transform:uppercase}.tm-player-performance-facts dd{margin-top:7px;color:#edf3f8;font:850 19px/1 var(--font-display)}.tm-player-no-signal{margin:18px 0;padding:17px 19px;border:1px solid #293545;border-left:3px solid #718096;border-radius:12px;background:#11161e}.tm-player-no-signal strong{display:block;margin:5px 0;color:#e7edf4;font:800 14px/1.2 var(--font-display);text-transform:uppercase}.tm-player-no-signal p{color:#929fb0;font-size:12px;line-height:1.5}
.tm-league-performance{margin:0 0 32px;padding:20px;border:1px solid rgba(66,211,255,.34);border-radius:15px;background:linear-gradient(145deg,#111a26,#0d131b)}.tm-league-performance-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:13px}.tm-league-performance-head span{color:#42d3ff;font:700 9px/1 var(--font-mono);text-transform:uppercase}.tm-league-performance-head h2{margin-top:5px;color:#f0f5fa;font:850 21px/1.1 var(--font-display);text-transform:uppercase}.tm-league-performance-head>a{color:#82e6ff;font:700 9px/1 var(--font-mono);text-decoration:none;text-transform:uppercase}.tm-league-performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}

.tm-compare-hero{grid-template-columns:1fr}.tm-compare-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin:0 0 28px;padding:18px;border:1px solid #293646;border-radius:15px;background:#101720}.tm-compare-form label{display:grid;gap:7px}.tm-compare-form label>span{color:#8492a5;font:700 8px/1 var(--font-mono);text-transform:uppercase}.tm-compare-form select{width:100%;min-height:46px;padding:0 12px;border:1px solid #344254;border-radius:9px;color:#eaf0f6;background:#0a1017;font:600 12px/1 var(--font-sans)}.tm-compare-form button{min-height:46px;padding:0 17px;border:1px solid #42d3ff;border-radius:9px;color:#07131b;background:#42d3ff;font:800 10px/1 var(--font-mono);text-transform:uppercase;cursor:pointer}.tm-comparison{overflow:hidden;border:1px solid #2d3a49;border-radius:18px;background:#101720}.tm-comparison-head{display:grid;grid-template-columns:1fr 1fr}.tm-comparison-head article{display:grid;justify-items:center;padding:28px 20px;text-align:center}.tm-comparison-head article+article{border-left:1px solid #2b3746}.tm-comparison-head img{width:96px;height:96px;border:2px solid #385066;border-radius:50%;object-fit:cover}.tm-comparison-head article>span{margin-top:10px;color:#42d3ff;font:700 8px/1 var(--font-mono);text-transform:uppercase}.tm-comparison-head h2{margin:6px 0;color:#f1f6fa;font:850 25px/1.1 var(--font-display);text-transform:uppercase}.tm-comparison-head p{color:#8d9bac;font-size:12px}.tm-comparison-head article>strong{margin-top:13px;color:#5cdcff;font:900 34px/1 var(--font-display)}.tm-comparison-head article>strong small{display:block;margin-top:4px;color:#748398;font:700 7px/1 var(--font-mono);text-transform:uppercase}.tm-comparison-head a{margin-top:12px;color:#77e4aa;font:700 8px/1 var(--font-mono);text-decoration:none;text-transform:uppercase}.tm-comparison-table div{display:grid;grid-template-columns:1fr 220px 1fr;border-top:1px solid #283443}.tm-comparison-table span,.tm-comparison-table strong{padding:13px;text-align:center}.tm-comparison-table span{color:#edf2f7;font:800 15px/1 var(--font-mono)}.tm-comparison-table strong{color:#8492a4;background:#0b1118;font:700 8px/1 var(--font-mono);text-transform:uppercase}.tm-comparison-note{padding:15px;border-top:1px solid #283443;color:#7e8b9d;font-size:11px;line-height:1.5}.tm-compare-empty{display:grid;min-height:250px;place-items:center;padding:30px;border:1px dashed #324153;border-radius:16px;text-align:center}.tm-compare-empty span{color:#42d3ff;font:900 34px/1 var(--font-display)}.tm-compare-empty h2{color:#f0f5f9;font:850 26px/1 var(--font-display);text-transform:uppercase}.tm-compare-empty p{color:#8c9aac}

@media(max-width:900px){.tm-performance-home-hero{grid-template-columns:1fr 150px}.tm-performance-orbit{width:135px;height:135px}.tm-performance-orbit:after{inset:45px}.tm-performance-orbit b{left:43px}.tm-performance-orbit span{top:61px}.tm-performance-orbit em{left:30px}.tm-performance-paths,.tm-radar-entry-grid,.tm-league-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tm-breakout-home{width:calc(100% - 24px);padding:0}.tm-performance-home-hero{grid-template-columns:1fr;min-height:0;padding:22px 17px}.tm-performance-home-copy h2{font-size:35px}.tm-performance-home-copy p{font-size:12px}.tm-performance-orbit{display:none}.tm-breakout-home>.tm-performance-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 14px}.tm-breakout-home .tm-performance-player.is-compact{display:flex;min-height:210px;flex-direction:column;align-items:flex-start;padding:13px}.tm-breakout-home .tm-performance-player.is-compact img,.tm-breakout-home .tm-performance-player.is-compact .tm-performance-photo-fallback{width:52px;height:52px}.tm-breakout-home .tm-performance-player-copy strong{font-size:12px;white-space:normal}.tm-breakout-home .tm-performance-player-copy small{font-size:8px;white-space:normal}.tm-breakout-home .tm-performance-player-copy em{font-size:8px}.tm-breakout-home .tm-performance-player.is-compact .tm-performance-score{display:grid;width:100%;grid-template-columns:auto auto 1fr;margin-top:auto}.tm-breakout-home .tm-performance-player.is-compact .tm-performance-score em{justify-self:end;margin:0}.tm-breakout-home a.tm-performance-player.is-compact:after{display:none}.tm-performance-paths{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 12px 15px}.tm-performance-paths a{min-height:76px;padding:11px 28px 11px 11px}.tm-performance-paths strong{font-size:10px}.tm-breakout-home>.tm-performance-source{padding:0 13px 16px}.tm-radar-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tm-radar-entry-grid a{grid-template-columns:31px minmax(0,1fr);min-height:98px;padding:11px;gap:4px 8px}.tm-radar-entry-grid span{width:31px;height:31px}.tm-radar-entry-grid em{font-size:8px}.tm-discovery-page,.tm-compare-page{width:calc(100% - 24px);padding:30px 0 60px}.tm-discovery-hero{grid-template-columns:1fr;gap:18px;margin-top:14px;padding:20px 16px}.tm-discovery-hero h1{font-size:34px}.tm-discovery-hero p{font-size:13px}.tm-discovery-nav{margin-bottom:22px}.tm-discovery-next{align-items:flex-start;flex-direction:column;padding:18px}.tm-player-performance-snapshot{grid-template-columns:1fr 105px;gap:12px;padding:16px}.tm-player-performance-lead h2{font-size:18px}.tm-player-performance-lead p{font-size:11px}.tm-player-performance-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-player-performance-score strong{font-size:34px}.tm-compare-form{grid-template-columns:1fr}.tm-comparison-head h2{font-size:17px}.tm-comparison-head article{padding:20px 10px}.tm-comparison-head img{width:72px;height:72px}.tm-comparison-table div{grid-template-columns:1fr 130px 1fr}.tm-comparison-table span,.tm-comparison-table strong{padding:11px 7px}.tm-comparison-table strong{font-size:7px}.tm-league-performance{padding:14px}.tm-league-performance-head{align-items:flex-start;flex-direction:column}.tm-league-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-league-performance-grid .tm-performance-player.is-compact{min-height:190px;display:flex;flex-direction:column;align-items:flex-start}.tm-league-performance-grid .tm-performance-player.is-compact .tm-performance-score{width:100%;margin-top:auto}}
@media(max-width:390px){.tm-breakout-home>.tm-performance-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-breakout-home .tm-performance-player.is-compact{min-height:220px}.tm-performance-home-actions a{font-size:8px}.tm-player-performance-snapshot{grid-template-columns:1fr}.tm-player-performance-score{min-height:110px}}

/* Manager updates reuse the existing feed geometry: no extra block or height. */
.tm-filter-manager > span,
.tm-status-manager { color:#d8a4ff; background:#241532; }
.tm-filter-manager.active { color:#ead2ff; border-color:#8755aa; background:#1c1226; }
.tm-status-manager { border:1px solid rgba(190,120,235,.28); }

/* v8.66 final cascade: one primary journey, three editorial choices. */
@media (min-width:901px) {
  .tm-post-window-grid.tm-hub-actions { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .tm-post-window-grid.tm-hub-actions > .tm-post-window-card-tracker { grid-column:1/-1; }
  .tm-post-window-grid.tm-hub-actions > a:not(.tm-post-window-card-tracker) { min-height:108px; }
}
@media (max-width:760px) {
  .tm-post-window-grid.tm-hub-actions { grid-template-columns:1fr; }
  .tm-post-window-grid.tm-hub-actions > a { min-height:88px; }
}

/* v8.70 — Performance Radar: a distinct, data-led discovery product. */
.tm-performance-home {
  width:min(1180px,calc(100% - 40px));
  margin:24px auto 34px;
  padding:26px;
  border:1px solid rgba(55,183,255,.42);
  border-radius:22px;
  background:
    radial-gradient(circle at 92% 0,rgba(55,183,255,.14),transparent 34%),
    linear-gradient(145deg,#121b29,#0d1219 66%);
  box-shadow:0 22px 60px rgba(0,0,0,.2);
}
.tm-performance-heading { display:grid; grid-template-columns:1fr minmax(260px,.8fr) auto; gap:24px; align-items:end; margin-bottom:20px; }
.tm-performance-heading span,.tm-performance-hero>span,.tm-performance-section-title span,.tm-performance-method>span {
  color:#42d3ff; font:700 11px/1.2 var(--font-mono); letter-spacing:.09em; text-transform:uppercase;
}
.tm-performance-heading h2 { margin:7px 0 0; color:#f4f7fb; font:800 clamp(24px,3vw,38px)/1 var(--font-display); letter-spacing:.025em; text-transform:uppercase; }
.tm-performance-heading p { margin:0; color:#aab4c5; font-size:14px; line-height:1.55; }
.tm-performance-heading>a { padding:12px 15px; border:1px solid #36bfff; border-radius:999px; color:#8bddff; font:700 11px/1 var(--font-mono); text-decoration:none; text-transform:uppercase; white-space:nowrap; }
.tm-performance-heading>a:hover,.tm-performance-heading>a:focus-visible { color:#071018; background:#42d3ff; outline:none; }
.tm-performance-home-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.tm-performance-source { display:block; margin-top:14px; color:#718096; font:600 9px/1.4 var(--font-mono); letter-spacing:.04em; text-transform:uppercase; }

.tm-performance-player {
  position:relative; display:grid; grid-template-columns:54px minmax(0,1fr) auto; grid-template-areas:"photo copy score"; gap:12px; align-items:center;
  min-width:0; padding:16px; border:1px solid #283342; border-radius:14px; color:inherit; background:rgba(8,13,20,.86); text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,background-color .18s ease;
}
a.tm-performance-player:hover,a.tm-performance-player:focus-visible { transform:translateY(-2px); border-color:#42d3ff; background:#101c29; outline:none; }
a.tm-performance-player { cursor:pointer; }
a.tm-performance-player:before { content:'\2197'; position:absolute; top:10px; right:11px; color:#42d3ff; font:800 12px/1 var(--font-mono); opacity:.7; transition:transform .18s ease,opacity .18s ease; }
a.tm-performance-player:hover:before,a.tm-performance-player:focus-visible:before { transform:translate(2px,-2px); opacity:1; }
.tm-performance-player img,.tm-performance-photo-fallback { grid-area:photo; width:54px; height:54px; border:1px solid #344253; border-radius:50%; object-fit:cover; background:#121a24; }
.tm-performance-photo-fallback { display:grid; place-items:center; color:#42d3ff; font:800 15px/1 var(--font-mono); }
.tm-performance-rank { position:absolute; top:9px; left:10px; z-index:1; padding:3px 5px; border-radius:5px; color:#d8e0eb; background:#172231; font:800 8px/1 var(--font-mono); text-transform:uppercase; }
.tm-performance-player-copy { grid-area:copy; display:flex; min-width:0; flex-direction:column; gap:4px; }
.tm-performance-player-copy strong { overflow:hidden; color:#f4f7fb; font:800 15px/1.2 var(--font-display); text-overflow:ellipsis; white-space:nowrap; }
.tm-performance-player-copy small { overflow:hidden; color:#8f9aac; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.tm-performance-player-copy em { color:#7ddcff; font:600 9px/1.3 var(--font-mono); font-style:normal; }
.tm-performance-score { grid-area:score; display:grid; min-width:52px; justify-items:center; padding:9px 7px; border:1px solid rgba(55,183,255,.34); border-radius:10px; background:rgba(28,107,148,.12); }
.tm-performance-score b { color:#5cdbff; font:800 23px/1 var(--font-display); }
.tm-performance-score small { color:#7f8b9c; font:700 7px/1 var(--font-mono); }
.tm-performance-score em { margin-top:4px; color:#9eabbc; font:600 7px/1 var(--font-mono); font-style:normal; text-transform:uppercase; }
.tm-performance-player.is-compact { grid-template-columns:48px minmax(0,1fr); grid-template-areas:"photo copy" "score score"; align-content:start; min-height:170px; }
.tm-performance-player.is-compact img,.tm-performance-player.is-compact .tm-performance-photo-fallback { width:48px; height:48px; }
.tm-performance-player.is-compact .tm-performance-score { grid-template-columns:auto auto 1fr; justify-items:start; align-items:center; gap:2px 3px; width:100%; box-sizing:border-box; }
.tm-performance-player.is-compact .tm-performance-score em { justify-self:end; margin:0; }

.tm-performance-page { width:min(1120px,calc(100% - 40px)); margin:0 auto; padding:54px 0 80px; }
.tm-performance-hero { max-width:900px; margin-bottom:30px; }
.tm-performance-hero h1 { max-width:820px; margin:9px 0 14px; color:#f4f7fb; font:800 clamp(38px,6vw,70px)/.98 var(--font-display); letter-spacing:.015em; text-transform:uppercase; }
.tm-performance-hero p { max-width:780px; margin:0 0 13px; color:#aab4c5; font-size:17px; line-height:1.6; }
.tm-performance-hero small { color:#738196; font:600 10px/1.4 var(--font-mono); text-transform:uppercase; }
.tm-performance-filters { position:sticky; top:0; z-index:12; display:grid; gap:13px; margin:0 0 34px; padding:17px; border:1px solid #283342; border-radius:15px; background:rgba(11,16,23,.95); backdrop-filter:blur(12px); }
.tm-performance-filter-group { display:grid; grid-template-columns:74px minmax(0,1fr); gap:12px; align-items:center; }
.tm-performance-filter-group>strong { color:#718096; font:700 9px/1 var(--font-mono); text-transform:uppercase; }
.tm-performance-filter-group>div { display:flex; gap:7px; overflow-x:auto; scrollbar-width:thin; }
.tm-performance-filter-group a { flex:0 0 auto; padding:8px 11px; border:1px solid #273241; border-radius:999px; color:#9ca8ba; font:700 10px/1 var(--font-mono); text-decoration:none; }
.tm-performance-filter-group a:hover,.tm-performance-filter-group a:focus-visible,.tm-performance-filter-group a.is-active { border-color:#42d3ff; color:#071018; background:#42d3ff; outline:none; }
.tm-performance-rankings { display:grid; gap:38px; }
.tm-performance-section { scroll-margin-top:150px; }
.tm-performance-section-title { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:13px; }
.tm-performance-section-title h2 { margin:5px 0 0; color:#f4f7fb; font:800 30px/1 var(--font-display); text-transform:uppercase; }
.tm-performance-section-title small { color:#718096; font:600 9px/1.3 var(--font-mono); text-transform:uppercase; }
.tm-performance-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.tm-performance-empty,.tm-performance-method { margin-top:34px; padding:26px; border:1px solid #293544; border-radius:16px; background:#111720; }
.tm-performance-empty h2,.tm-performance-method h2 { margin:7px 0 12px; color:#f4f7fb; font:800 25px/1.1 var(--font-display); text-transform:uppercase; }
.tm-performance-empty p,.tm-performance-method p { max-width:850px; color:#aab4c5; line-height:1.65; }
.tm-performance-method small { color:#718096; font:600 9px/1.4 var(--font-mono); text-transform:uppercase; }

@media (max-width:900px) {
  .tm-performance-heading { grid-template-columns:1fr auto; }
  .tm-performance-heading p { grid-column:1/-1; grid-row:2; }
  .tm-performance-home-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .tm-performance-home,.tm-performance-page { width:calc(100% - 24px); }
  .tm-performance-home { margin:16px auto 24px; padding:17px 14px; border-radius:17px; }
  .tm-performance-heading { grid-template-columns:1fr; gap:10px; align-items:start; }
  .tm-performance-heading p { grid-column:auto; grid-row:auto; font-size:12px; }
  .tm-performance-heading>a { justify-self:start; }
  .tm-performance-home-grid,.tm-performance-list { grid-template-columns:1fr; }
  .tm-performance-player.is-compact { grid-template-columns:54px minmax(0,1fr) auto; grid-template-areas:"photo copy score"; min-height:0; }
  .tm-performance-player.is-compact .tm-performance-score { display:grid; grid-template-columns:1fr; width:auto; }
  .tm-performance-player.is-compact .tm-performance-score em { justify-self:center; margin-top:4px; }
  .tm-performance-page { padding:35px 0 60px; }
  .tm-performance-hero p { font-size:14px; }
  .tm-performance-filters { position:relative; padding:13px; }
  .tm-performance-filter-group { grid-template-columns:1fr; gap:7px; }
  .tm-performance-player { grid-template-columns:50px minmax(0,1fr) auto; padding:14px 11px; gap:9px; }
  .tm-performance-player img,.tm-performance-photo-fallback { width:50px; height:50px; }
  .tm-performance-player-copy strong { font-size:13px; }
  .tm-performance-score { min-width:46px; padding:8px 5px; }
  .tm-performance-score b { font-size:20px; }
}

/* v8.75 final overrides: clearer home hierarchy and mobile focus. */
.tm-performance-player-copy > em {
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-top:2px;
  color:#a9b5c4;
  font-size:9px;
  line-height:1.35;
}
.tm-performance-player-copy > em span { display:block; }
.tm-performance-player-copy > em b { color:#7ddcff; font-weight:800; }
.tm-performance-score small {
  max-width:74px;
  line-height:1.25;
  text-align:center;
  text-transform:uppercase;
}

@media (max-width:760px) {
  .tm-home-sidebar > .tm-trending { display:none !important; }
  .tm-performance-paths { gap:8px; padding:0 12px 16px; }
  .tm-performance-paths a {
    grid-template-columns:34px minmax(0,1fr);
    gap:9px;
    min-height:118px;
    padding:13px 25px 12px 10px;
  }
  .tm-performance-path-icon { width:34px; height:34px; border-radius:9px; font-size:10px; }
  .tm-performance-path-copy strong { font-size:10px; line-height:1.25; }
  .tm-performance-path-copy em { margin-top:5px; font-size:8px; line-height:1.3; }
  .tm-performance-paths > a > b { right:10px; bottom:11px; }
  .tm-breakout-home .tm-performance-player-copy > em { font-size:9px; line-height:1.35; }
  .tm-breakout-home .tm-performance-player.is-compact .tm-performance-score small { font-size:6px; }
}

/* v8.77 — mobile-only reading system.
   The desktop cascade is deliberately untouched. */
@media (max-width:760px) {
  /* One calm surface per section: fewer outlines and clearer hierarchy. */
  body.home { background:#0d1118; }
  .home .tm-performance-home,
  .home .tm-post-window-hub {
    width:calc(100% - 24px);
    box-sizing:border-box;
    border:0;
    border-radius:20px;
    background:#121923;
    box-shadow:none;
  }

  /* Who is rising now? */
  .home .tm-performance-home.tm-breakout-home {
    margin:16px auto 26px;
    overflow:hidden;
    padding:0;
  }
  .home .tm-performance-home-hero {
    min-height:0;
    padding:22px 18px 18px;
    background:linear-gradient(145deg,rgba(66,211,255,.11),transparent 58%);
  }
  .home .tm-performance-kicker {
    font:750 9px/1.25 var(--font-sans);
    letter-spacing:.1em;
  }
  .home .tm-performance-home-copy h2 {
    max-width:none;
    margin:7px 0 10px;
    color:#f5f8fc;
    font:800 29px/1.06 var(--font-sans);
    letter-spacing:-.025em;
    text-transform:none;
  }
  .home .tm-performance-home-copy p {
    max-width:34em;
    color:#b7c0cd;
    font:450 13px/1.5 var(--font-sans);
  }
  .home .tm-performance-home-actions { margin-top:16px; }
  .home .tm-performance-home-actions a {
    min-height:42px;
    box-sizing:border-box;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:0 15px;
    border:0;
    font:800 10px/1 var(--font-sans);
    letter-spacing:.035em;
  }

  /* Four destinations remain 2x2, but read as shortcuts rather than panels. */
  .home .tm-performance-paths {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:0 12px 18px;
  }
  .home .tm-performance-paths a {
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    align-items:center;
    gap:9px;
    min-height:86px;
    padding:11px 22px 11px 11px;
    border:0;
    border-radius:14px;
    background:#18212d;
    box-shadow:none;
  }
  .home .tm-performance-paths a:before { display:none; }
  .home .tm-performance-path-icon {
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    background:rgba(66,211,255,.1);
  }
  .home .tm-performance-path-copy small { display:none; }
  .home .tm-performance-path-copy strong {
    margin:0;
    color:#f3f6fa;
    font:750 11px/1.2 var(--font-sans);
    letter-spacing:0;
    text-transform:none;
  }
  .home .tm-performance-path-copy em {
    display:-webkit-box;
    margin-top:4px;
    overflow:hidden;
    color:#9eabba;
    font:450 9px/1.3 var(--font-sans);
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .home .tm-performance-paths > a > b {
    right:9px;
    bottom:auto;
    top:50%;
    color:#68d9fa;
    font-size:12px;
    transform:translateY(-50%);
  }

  /* Full-width player rows: names and metrics never fight for a half column. */
  .home .tm-breakout-home > .tm-performance-home-grid {
    grid-template-columns:1fr !important;
    gap:8px;
    padding:0 12px 14px;
  }
  .home .tm-breakout-home .tm-performance-player.is-compact {
    display:grid;
    grid-template-columns:58px minmax(0,1fr) 63px;
    grid-template-areas:"photo copy score";
    align-items:center;
    gap:11px;
    min-height:92px;
    padding:14px 11px;
    border:0;
    border-radius:15px;
    background:#0e141d;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
  }
  .home .tm-breakout-home .tm-performance-player.is-compact img,
  .home .tm-breakout-home .tm-performance-player.is-compact .tm-performance-photo-fallback {
    width:58px;
    height:58px;
    border:0;
    background:#202a36;
  }
  .home .tm-breakout-home .tm-performance-rank {
    top:7px;
    left:7px;
    padding:3px 6px;
    border-radius:999px;
    color:#cbd6e3;
    background:#273443;
    font:750 7px/1 var(--font-sans);
  }
  .home .tm-breakout-home .tm-performance-player-copy { gap:3px; }
  .home .tm-breakout-home .tm-performance-player-copy strong {
    overflow:visible;
    color:#f6f8fb;
    font:750 15px/1.15 var(--font-sans);
    text-overflow:clip;
    white-space:normal;
  }
  .home .tm-breakout-home .tm-performance-player-copy small {
    color:#8f9dad;
    font:500 10px/1.25 var(--font-sans);
    white-space:normal;
  }
  .home .tm-breakout-home .tm-performance-player-copy > em {
    gap:1px;
    margin-top:3px;
    color:#aeb9c7;
    font:500 9px/1.3 var(--font-sans);
  }
  .home .tm-breakout-home .tm-performance-player-copy > em b { color:#71ddfb; }
  .home .tm-breakout-home .tm-performance-player.is-compact .tm-performance-score {
    display:flex;
    width:63px;
    min-width:63px;
    box-sizing:border-box;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:9px 5px;
    border:0;
    border-radius:13px;
    background:#162a39;
  }
  .home .tm-breakout-home .tm-performance-score b {
    color:#63dafa;
    font:800 24px/1 var(--font-sans);
  }
  .home .tm-breakout-home .tm-performance-player.is-compact .tm-performance-score small {
    max-width:54px;
    margin-top:3px;
    color:#93a3b4;
    font:650 6px/1.15 var(--font-sans);
    letter-spacing:.02em;
  }
  .home .tm-breakout-home .tm-performance-player.is-compact .tm-performance-score em {
    margin-top:5px;
    color:#a8b5c4;
    font:650 7px/1 var(--font-sans);
  }
  .home .tm-breakout-home > .tm-performance-source {
    padding:2px 14px 17px;
    color:#748294;
    font:600 8px/1.4 var(--font-sans);
    letter-spacing:.035em;
  }

  /* Transfer market hub: three clear horizontal destinations. */
  .home .tm-post-window-hub {
    margin:0 12px 26px;
    padding:19px 14px 15px;
  }
  .home .tm-post-window-heading {
    display:block;
    margin-bottom:14px;
  }
  .home .tm-post-window-heading span {
    margin-bottom:5px;
    font:750 9px/1.2 var(--font-sans);
    letter-spacing:.09em;
  }
  .home .tm-post-window-heading h2 {
    font:800 25px/1.08 var(--font-sans);
    letter-spacing:-.02em;
    text-transform:none;
  }
  .home .tm-post-window-heading p {
    max-width:31em;
    margin-top:7px;
    color:#aeb8c5;
    font:450 13px/1.45 var(--font-sans);
    text-align:left;
  }
  .home .tm-post-window-grid.tm-hub-actions {
    grid-template-columns:1fr;
    gap:8px;
  }
  .home .tm-post-window-grid.tm-hub-actions > a,
  .home .tm-post-window-grid.tm-hub-actions > a:not(.tm-post-window-card-tracker) {
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 18px;
    grid-template-areas:"icon title arrow" "icon description arrow";
    align-items:center;
    gap:2px 11px;
    min-height:70px;
    padding:10px 11px;
    border:0;
    border-radius:14px;
    background:#0e141d;
    box-shadow:none;
  }
  .home .tm-post-window-grid.tm-hub-actions > a:before { display:none; }
  .home .tm-hub-card-icon {
    grid-area:icon;
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    color:#38bdf8;
    background:rgba(56,189,248,.1);
  }
  .home .tm-post-window-card-briefing .tm-hub-card-icon,
  .home .tm-post-window-card-deals .tm-hub-card-icon {
    color:#f5a623;
    background:rgba(245,158,11,.1);
  }
  .home .tm-hub-card-icon svg {
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .home .tm-post-window-eyebrow { display:none; }
  .home .tm-post-window-grid.tm-hub-actions strong {
    grid-area:title;
    min-height:0;
    margin:0;
    color:#f3f6f9;
    font:750 14px/1.2 var(--font-sans);
    text-transform:none;
    white-space:normal;
  }
  .home .tm-post-window-grid.tm-hub-actions small {
    grid-area:description;
    color:#909dad;
    font:450 10px/1.25 var(--font-sans);
    white-space:normal;
  }
  .home .tm-post-window-grid.tm-hub-actions .tm-post-window-arrow {
    grid-area:arrow;
    position:static;
    align-self:center;
    justify-self:end;
    font-size:16px;
    transform:none;
  }

  /* Winter watch and live feed use the same readable card language. */
  .home .tm-january-watch-home {
    margin-top:16px;
    padding-top:16px;
    border-top-color:#26313e;
  }
  .home .tm-january-watch-head h3,
  .home .tm-feed-intro h1 {
    font-family:var(--font-sans);
    font-weight:800;
    letter-spacing:-.015em;
    text-transform:none;
  }
  .home .tm-january-watch-head h3 { font-size:20px; }
  .home .tm-january-watch-head span,
  .home .tm-january-watch-head a { font-family:var(--font-sans); }
  .home .tm-january-watch-player {
    grid-template-columns:48px minmax(0,1fr) auto;
    min-height:72px;
    padding:10px;
    border:0;
    border-radius:14px;
    background:#0e141d;
  }
  .home .tm-january-watch-player img,
  .home .tm-january-watch-fallback { width:48px; height:48px; border:0; }
  .home .tm-january-watch-copy strong {
    margin-bottom:3px;
    font:750 15px/1.2 var(--font-sans);
  }
  .home .tm-january-watch-copy small { font:500 12px/1.3 var(--font-sans); }
  .home .tm-january-watch-status {
    border-radius:999px;
    font:750 8px/1 var(--font-sans);
  }

  .home .tm-feed-intro { margin-bottom:11px; }
  .home .tm-feed-intro h1 { font-size:26px; line-height:1.08; }
  .home .tm-status-filters {
    display:flex;
    gap:7px;
    overflow-x:auto;
    padding:2px 0 9px;
    scrollbar-width:none;
  }
  .home .tm-status-filters::-webkit-scrollbar { display:none; }
  .home .tm-status-filters .tm-chip {
    flex:0 0 auto;
    min-height:38px;
    padding:0 11px;
    border-radius:999px;
    font-family:var(--font-sans);
  }
  .home #tm-feed .tm-row {
    grid-template-columns:50px minmax(0,1fr) 18px;
    grid-template-areas:"photo main link" "time main link";
    align-items:center;
    gap:3px 12px;
    min-height:88px;
    box-sizing:border-box;
    margin-bottom:9px;
    padding:12px;
    border:0;
    border-radius:15px;
    background:#151c26;
    box-shadow:0 7px 18px rgba(0,0,0,.1);
  }
  .home #tm-feed .tm-row-time {
    grid-area:time;
    justify-self:center;
    color:#8f9cad;
    font:650 8px/1 var(--font-sans);
  }
  .home #tm-feed .tm-row > .tm-row-photo,
  .home #tm-feed .tm-row-photo-link { grid-area:photo; }
  .home #tm-feed .tm-row-photo {
    width:50px;
    height:50px;
    border:0;
  }
  .home #tm-feed .tm-row-main { grid-area:main; }
  .home #tm-feed .tm-row-link { grid-area:link; font-size:21px; }
  .home #tm-feed .tm-row-player {
    margin-bottom:3px;
    font:750 15px/1.18 var(--font-sans);
    letter-spacing:0;
    text-transform:none;
  }
  .home #tm-feed .tm-row-player-cta { display:none; }
  .home #tm-feed .tm-row-headline {
    display:-webkit-box;
    margin-bottom:5px;
    overflow:hidden;
    color:#aab5c2;
    font:450 11px/1.3 var(--font-sans);
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .home #tm-feed .tm-row-source {
    gap:4px;
    color:#b8c2ce;
    font:600 10px/1.25 var(--font-sans);
  }
  .home #tm-feed .tm-status-badge {
    margin-top:5px;
    border-radius:999px;
    font:700 8px/1 var(--font-sans);
  }
}

/* v8.78 — mobile refinement: two brand accents, semantic badges and icons. */
.tm-filter-symbol svg { display:none; }

@media (max-width:760px) {
  /* Green is the primary MoveSignal action; cyan identifies data and detail. */
  .home .tm-performance-kicker,
  .home .tm-post-window-heading span,
  .home .tm-january-watch-head span { color:#35d07f; }
  .home .tm-performance-home-actions .tm-performance-primary-action {
    color:#07150f;
    background:#35d07f;
  }
  .home .tm-performance-home-actions .tm-performance-primary-action:hover,
  .home .tm-performance-home-actions .tm-performance-primary-action:focus-visible {
    color:#06120d;
    background:#4fe093;
  }
  .home .tm-performance-paths a,
  .home .tm-performance-path-young,
  .home .tm-performance-path-position,
  .home .tm-performance-path-compare { --tm-mobile-accent:#35d07f; }
  .home .tm-performance-path-position,
  .home .tm-performance-path-compare { --tm-mobile-accent:#42d3ff; }
  .home .tm-performance-path-icon {
    color:var(--tm-mobile-accent);
    background:color-mix(in srgb,var(--tm-mobile-accent) 11%,transparent);
  }
  .home .tm-performance-paths > a > b { color:var(--tm-mobile-accent); }

  .home .tm-post-window-card-january,
  .home .tm-post-window-card-deals { --tm-mobile-accent:#35d07f; }
  .home .tm-post-window-card-briefing { --tm-mobile-accent:#42d3ff; }
  .home .tm-hub-card-icon,
  .home .tm-post-window-card-briefing .tm-hub-card-icon,
  .home .tm-post-window-card-deals .tm-hub-card-icon {
    color:var(--tm-mobile-accent);
    background:color-mix(in srgb,var(--tm-mobile-accent) 11%,transparent);
  }
  .home .tm-post-window-grid.tm-hub-actions .tm-post-window-arrow {
    color:var(--tm-mobile-accent);
  }

  /* Full names remain intact, but can occupy no more than two clean lines. */
  .home .tm-breakout-home .tm-performance-player-copy {
    min-width:0;
    overflow:hidden;
  }
  .home .tm-breakout-home .tm-performance-player-copy strong {
    display:-webkit-box;
    max-height:2.3em;
    overflow:hidden;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .home .tm-breakout-home .tm-performance-score { align-self:center; }

  /* Letters stay available to desktop; mobile uses meaningful line icons. */
  .home .tm-status-filters button > .tm-filter-symbol {
    display:grid;
    width:20px;
    height:20px;
    place-items:center;
  }
  .home .tm-filter-symbol .tm-filter-letter { display:none; }
  .home .tm-filter-symbol svg {
    display:block;
    width:13px;
    height:13px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .home .tm-filter-all > .tm-filter-symbol,
  .home .tm-filter-manager > .tm-filter-symbol {
    color:#42d3ff;
    background:rgba(66,211,255,.1);
  }

  @supports not (background:color-mix(in srgb,#fff 10%,transparent)) {
    .home .tm-performance-path-icon,
    .home .tm-hub-card-icon { background:rgba(53,208,127,.1); }
    .home .tm-performance-path-position .tm-performance-path-icon,
    .home .tm-performance-path-compare .tm-performance-path-icon,
    .home .tm-post-window-card-briefing .tm-hub-card-icon { background:rgba(66,211,255,.1); }
  }
}

@media (max-width:360px) {
  .home .tm-breakout-home .tm-performance-player.is-compact {
    grid-template-columns:54px minmax(0,1fr) 58px;
    gap:9px;
  }
  .home .tm-breakout-home .tm-performance-player.is-compact img,
  .home .tm-breakout-home .tm-performance-player.is-compact .tm-performance-photo-fallback {
    width:54px;
    height:54px;
  }
  .home .tm-breakout-home .tm-performance-player-copy strong { font-size:14px; }
  .home .tm-breakout-home .tm-performance-player.is-compact .tm-performance-score {
    width:58px;
    min-width:58px;
  }
}

/* v8.79 — definitive mobile discovery hierarchy. */
.tm-mobile-copy { display:none; }

@media (max-width:760px) {
  .tm-desktop-copy { display:none; }
  .tm-mobile-copy { display:inline; }

  /* Performance Radar returns to its original blue/cyan visual language. */
  .home .tm-performance-home.tm-breakout-home {
    border:1px solid rgba(66,211,255,.38);
    border-radius:24px;
    background:
      radial-gradient(circle at 92% 0,rgba(66,211,255,.12),transparent 40%),
      linear-gradient(145deg,#111d2a,#0d141d 72%);
  }
  .home .tm-performance-home-hero {
    padding:22px 18px 17px;
    background:transparent;
    text-align:left;
  }
  .home .tm-performance-kicker { display:none; }
  .home .tm-performance-home-copy h2 {
    margin-top:0;
    color:#f4f7fb;
    font-size:28px;
  }
  .home .tm-performance-home-copy p {
    color:#aebaca;
    font-size:13px;
    line-height:1.48;
  }
  .home .tm-performance-home-actions {
    display:flex;
    justify-content:center;
    margin-top:17px;
  }
  .home .tm-performance-home-actions .tm-performance-primary-action {
    width:100%;
    max-width:360px;
    min-height:46px;
    box-sizing:border-box;
    justify-content:center;
    border:1px solid #42d3ff;
    border-radius:15px;
    color:#06131a;
    background:#42d3ff;
    box-shadow:0 8px 22px rgba(66,211,255,.12);
  }
  .home .tm-performance-home-actions .tm-performance-primary-action:hover,
  .home .tm-performance-home-actions .tm-performance-primary-action:focus-visible {
    color:#06131a;
    background:#70defb;
  }

  /* Four compact, rounded destinations: icon, title and arrow only. */
  .home .tm-performance-paths {
    gap:9px;
    padding:1px 12px 18px;
  }
  .home .tm-performance-paths a,
  .home .tm-performance-path-young,
  .home .tm-performance-path-position,
  .home .tm-performance-path-compare {
    --tm-mobile-accent:#42d3ff;
    grid-template-columns:36px minmax(0,1fr) 12px;
    min-height:76px;
    padding:10px 9px;
    border:1px solid rgba(66,211,255,.14);
    border-radius:18px;
    background:#172230;
  }
  .home .tm-performance-path-icon {
    width:36px;
    height:36px;
    color:#65dcfb;
    background:#102c3c;
  }
  .home .tm-performance-path-copy { align-self:center; }
  .home .tm-performance-path-copy small,
  .home .tm-performance-path-copy em { display:none; }
  .home .tm-performance-path-copy strong {
    color:#f3f7fb;
    font-size:11px;
    line-height:1.2;
  }
  .home .tm-performance-paths > a > b {
    position:static;
    align-self:center;
    color:#65dcfb;
    transform:none;
  }

  /* Player rows stay calm and use cyan only for verified performance data. */
  .home .tm-breakout-home .tm-performance-player.is-compact {
    border:1px solid rgba(66,211,255,.1);
    background:#0c141e;
  }
  .home .tm-breakout-home .tm-performance-rank {
    color:#b9c7d6;
    background:#1b2a39;
  }

  /* Transfer hub: no eyebrow, centred introduction, three clear tap targets. */
  .home .tm-post-window-hub {
    border:1px solid rgba(66,211,255,.18);
    border-radius:24px;
    background:linear-gradient(145deg,#121c28,#0e151e 72%);
  }
  .home .tm-post-window-heading {
    max-width:32em;
    margin:0 auto 16px;
    text-align:center;
  }
  .home .tm-post-window-heading span { display:none; }
  .home .tm-post-window-heading h2 {
    color:#f4f7fb;
    font-size:25px;
  }
  .home .tm-post-window-heading p {
    margin:8px auto 0;
    color:#abb7c5;
    font-size:13px;
    line-height:1.45;
    text-align:center;
  }
  .home .tm-post-window-grid.tm-hub-actions {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:9px;
  }
  .home .tm-post-window-grid.tm-hub-actions > a,
  .home .tm-post-window-grid.tm-hub-actions > a:not(.tm-post-window-card-tracker) {
    --tm-mobile-accent:#42d3ff;
    grid-template-columns:44px minmax(0,1fr) 18px;
    grid-template-areas:"icon title arrow";
    min-height:68px;
    padding:11px 12px;
    border:1px solid rgba(66,211,255,.14);
    border-radius:18px;
    background:#0c141e;
  }
  .home .tm-hub-card-icon,
  .home .tm-post-window-card-briefing .tm-hub-card-icon,
  .home .tm-post-window-card-deals .tm-hub-card-icon {
    width:44px;
    height:44px;
    color:#60dafa;
    background:#102c3c;
  }
  .home .tm-post-window-grid.tm-hub-actions strong {
    align-self:center;
    text-align:center;
  }
  .home .tm-post-window-grid.tm-hub-actions small,
  .home .tm-post-window-grid.tm-hub-actions .tm-post-window-eyebrow { display:none; }
  .home .tm-post-window-grid.tm-hub-actions .tm-post-window-arrow {
    color:#60dafa;
  }
  .home .tm-january-watch-head span { color:#42d3ff; }
}

/* v8.80 — compact mobile hub: three equal actions, no dead space. */
@media (max-width:760px) {
  .home .tm-post-window-hub {
    padding:16px 12px 14px;
    border-radius:20px;
  }
  .home .tm-post-window-heading {
    margin:0 auto 13px;
  }
  .home .tm-post-window-heading h2 {
    font-size:22px;
    line-height:1.08;
  }
  .home .tm-post-window-heading p { display:none !important; }
  .home .tm-post-window-grid.tm-hub-actions {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:7px;
  }
  .home .tm-post-window-grid.tm-hub-actions > a,
  .home .tm-post-window-grid.tm-hub-actions > a:not(.tm-post-window-card-tracker) {
    display:flex !important;
    width:auto;
    height:104px;
    min-height:104px !important;
    max-height:104px;
    box-sizing:border-box;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:10px 5px;
    border:0;
    border-radius:17px;
    background:#0b1520;
  }
  .home .tm-post-window-grid.tm-hub-actions > a:hover,
  .home .tm-post-window-grid.tm-hub-actions > a:focus-visible {
    background:#102130;
  }
  .home .tm-hub-card-icon,
  .home .tm-post-window-card-briefing .tm-hub-card-icon,
  .home .tm-post-window-card-deals .tm-hub-card-icon {
    flex:0 0 36px;
    width:36px;
    height:36px;
  }
  .home .tm-hub-card-icon svg {
    width:19px;
    height:19px;
  }
  .home .tm-post-window-grid.tm-hub-actions strong {
    width:100%;
    min-height:0;
    color:#f1f5f9;
    font-size:11px;
    line-height:1.18;
    text-align:center;
  }
  .home .tm-post-window-grid.tm-hub-actions .tm-post-window-arrow { display:none; }
}

@media (max-width:350px) {
  .home .tm-post-window-hub { padding-right:10px; padding-left:10px; }
  .home .tm-post-window-grid.tm-hub-actions { gap:6px; }
  .home .tm-post-window-grid.tm-hub-actions strong { font-size:10px; }
}

/* v8.81 — desktop balance and collision-free navigation.
   Mobile remains governed by the approved v8.80 cascade above. */
@media (min-width:761px) {
  /* Treat status filters and market tools as two explicit groups. */
  .home .tm-status-filters {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:stretch;
    gap:10px;
    overflow:visible;
    padding:10px 12px;
  }
  .home .tm-feed-filter-group,
  .home .tm-feed-tool-group {
    display:flex;
    min-width:0;
    align-items:stretch;
    gap:6px;
  }
  .home .tm-feed-filter-group { flex:1 1 auto; }
  .home .tm-feed-tool-group { flex:0 0 auto; }
  .home .tm-status-filters .tm-chip {
    display:inline-flex;
    min-width:0;
    min-height:46px;
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:0 13px;
    overflow:hidden;
    font-size:12px;
    line-height:1;
    text-overflow:ellipsis;
  }
  .home .tm-feed-filter-group .tm-chip { flex:1 1 0; }
  .home .tm-feed-tool-group .tm-chip { min-width:154px; }
  .home .tm-status-filters .tm-chip > span { flex:0 0 auto; }

  /* A compact desktop hero with a deliberate text-to-data balance. */
  .home .tm-performance-home-hero {
    grid-template-columns:minmax(0,1fr) 160px;
    gap:38px;
    min-height:0;
    padding:26px 30px 24px;
  }
  .home .tm-performance-home-copy { max-width:none; }
  .home .tm-performance-home-copy h2 {
    margin:8px 0 12px;
    font-size:clamp(31px,3.3vw,48px);
    line-height:1;
  }
  .home .tm-performance-home-copy p {
    max-width:880px;
    font-size:14px;
    line-height:1.55;
  }
  .home .tm-performance-home-actions { margin-top:17px; }
  .home .tm-performance-home-actions .tm-performance-primary-action {
    display:inline-flex;
    min-height:42px;
    box-sizing:border-box;
    align-items:center;
    padding:0 17px;
  }
  .home .tm-performance-orbit {
    width:144px;
    height:144px;
    justify-self:center;
  }
  .home .tm-performance-orbit:before { inset:20px; }
  .home .tm-performance-orbit:after { inset:47px; }
  .home .tm-performance-orbit b { top:5px; left:48px; }
  .home .tm-performance-orbit span { top:65px; right:-15px; }
  .home .tm-performance-orbit em { bottom:5px; left:35px; }
}

/* Standard laptop widths: one clean seven-item row. */
@media (min-width:981px) and (max-width:1180px) {
  .home .tm-status-filters { grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; }
  .home .tm-feed-filter-group,
  .home .tm-feed-tool-group { display:contents; }
  .home .tm-status-filters .tm-chip {
    width:100%;
    padding:0 7px;
    font-size:10px;
  }
  .home .tm-feed-tool-group .tm-chip { min-width:0; }
  .home .tm-feed-tool-group .tm-chip b { display:none; }
}

/* Narrow desktop/tablet landscape: balanced 4 + 3 rows, never overlap. */
@media (min-width:761px) and (max-width:980px) {
  .home .tm-status-filters { grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
  .home .tm-feed-filter-group,
  .home .tm-feed-tool-group { display:contents; }
  .home .tm-status-filters .tm-chip {
    width:100%;
    padding:0 9px;
    font-size:10.5px;
  }
  .home .tm-feed-tool-group .tm-chip { min-width:0; }
}

/* v8.82 — coherent desktop controls and a cleaner market hub. */
@media (min-width:761px) {
  /* A wider CTA gives the primary performance journey its proper weight. */
  .home .tm-performance-home-actions .tm-performance-primary-action {
    width:min(430px,100%);
    min-height:48px;
    justify-content:center;
    padding:0 22px;
    border-radius:15px;
    font-size:11px;
  }

  /* Desktop Transfer Market Hub adopts the compact mobile visual system. */
  .home .tm-post-window-hub {
    padding:24px 26px 22px;
    border:1px solid rgba(66,211,255,.28);
    border-radius:24px;
    background:
      radial-gradient(circle at 90% 0,rgba(66,211,255,.09),transparent 36%),
      linear-gradient(145deg,#121d29,#0d151e 72%);
  }
  .home .tm-post-window-heading {
    display:block;
    max-width:720px;
    margin:0 auto 19px;
    text-align:center;
  }
  .home .tm-post-window-heading > div > span { display:none; }
  .home .tm-post-window-heading h2 {
    margin:0;
    color:#f4f7fb;
    font:800 30px/1.08 var(--font-sans);
    letter-spacing:-.02em;
    text-transform:none;
  }
  .home .tm-post-window-heading p {
    max-width:620px;
    margin:8px auto 0;
    color:#aebaca;
    font:450 14px/1.45 var(--font-sans);
    letter-spacing:0;
    text-align:center;
    text-transform:none;
  }
  .home .tm-post-window-grid.tm-hub-actions {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
  }
  .home .tm-post-window-grid.tm-hub-actions > a,
  .home .tm-post-window-grid.tm-hub-actions > a:not(.tm-post-window-card-tracker) {
    display:flex;
    min-height:122px;
    box-sizing:border-box;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:11px;
    padding:17px 12px;
    border:1px solid rgba(66,211,255,.14);
    border-radius:19px;
    background:#0b1520;
    box-shadow:none;
  }
  .home .tm-post-window-grid.tm-hub-actions > a::before { display:none; }
  .home .tm-post-window-grid.tm-hub-actions > a:hover,
  .home .tm-post-window-grid.tm-hub-actions > a:focus-visible {
    border-color:rgba(66,211,255,.55);
    background:#102130;
    transform:translateY(-2px);
    outline:none;
  }
  .home .tm-post-window-grid.tm-hub-actions .tm-hub-card-icon,
  .home .tm-post-window-card-briefing .tm-hub-card-icon,
  .home .tm-post-window-card-deals .tm-hub-card-icon {
    display:grid;
    width:44px;
    height:44px;
    flex:0 0 44px;
    place-items:center;
    border:0;
    border-radius:50%;
    color:#60dafa;
    background:#102c3c;
  }
  .home .tm-post-window-grid.tm-hub-actions .tm-hub-card-icon svg {
    width:22px;
    height:22px;
  }
  .home .tm-post-window-grid.tm-hub-actions .tm-post-window-eyebrow,
  .home .tm-post-window-grid.tm-hub-actions small,
  .home .tm-post-window-grid.tm-hub-actions .tm-post-window-arrow { display:none; }
  .home .tm-post-window-grid.tm-hub-actions strong {
    min-height:0;
    margin:0;
    color:#f3f7fb;
    font:750 14px/1.2 var(--font-sans);
    letter-spacing:0;
    text-align:center;
    text-transform:none;
    white-space:normal;
  }
}

/* Every desktop control occupies the same cell: no special oversized tools. */
@media (min-width:981px) {
  .home .tm-status-filters {
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:7px;
  }
  .home .tm-feed-filter-group,
  .home .tm-feed-tool-group { display:contents; }
  .home .tm-status-filters .tm-chip,
  .home .tm-feed-filter-group .tm-chip,
  .home .tm-feed-tool-group .tm-chip {
    width:100%;
    min-width:0;
    min-height:48px;
    padding:0 8px;
    font-size:11px;
  }
  .home .tm-feed-tool-group .tm-chip b { display:none; }
}

/* v8.83 — explicit desktop geometry, without display:contents side effects. */
@media (min-width:761px) {
  /* Five status controls plus two market tools, all with the same real width. */
  .home .tm-status-filters {
    display:grid;
    grid-template-columns:minmax(0,5fr) minmax(0,2fr);
    align-items:stretch;
    gap:7px;
    overflow:visible;
  }
  .home .tm-feed-filter-group,
  .home .tm-feed-tool-group {
    display:grid !important;
    min-width:0;
    align-items:stretch;
    gap:7px;
  }
  .home .tm-feed-filter-group { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .home .tm-feed-tool-group { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home .tm-status-filters .tm-chip,
  .home .tm-feed-filter-group .tm-chip,
  .home .tm-feed-tool-group .tm-chip {
    display:grid !important;
    width:100%;
    min-width:0;
    min-height:48px;
    box-sizing:border-box;
    grid-template-columns:28px minmax(0,max-content);
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:0 7px;
    overflow:hidden;
    font-size:10.5px;
    line-height:1;
    text-align:left;
    text-overflow:ellipsis;
  }
  .home .tm-status-filters .tm-chip > span,
  .home .tm-status-filters button > .tm-filter-symbol,
  .home .tm-status-filters .tm-mobile-directory > span {
    display:grid;
    width:28px;
    height:28px;
    box-sizing:border-box;
    flex:none;
    place-items:center;
    margin:0;
    border-radius:50%;
    font-size:8px;
    line-height:1;
  }
  .home .tm-feed-tool-group .tm-chip b { display:none; }
}

@media (min-width:761px) and (max-width:980px) {
  .home .tm-status-filters .tm-chip,
  .home .tm-feed-filter-group .tm-chip,
  .home .tm-feed-tool-group .tm-chip {
    grid-template-columns:24px minmax(0,max-content);
    gap:5px;
    padding:0 4px;
    font-size:9px;
  }
  .home .tm-status-filters .tm-chip > span,
  .home .tm-status-filters button > .tm-filter-symbol,
  .home .tm-status-filters .tm-mobile-directory > span {
    width:24px;
    height:24px;
  }
}

/* On desktop the hub sits immediately before Latest transfer updates.
   Its heading becomes a compact lead column instead of a tall empty row. */
@media (min-width:901px) {
  .home .tm-home-primary .tm-post-window-hub {
    display:grid;
    grid-template-columns:minmax(190px,220px) minmax(0,1fr);
    align-items:stretch;
    gap:14px 18px;
    margin:0 0 24px;
    padding:18px;
  }
  .home .tm-home-primary .tm-post-window-heading {
    display:flex;
    max-width:none;
    min-width:0;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    margin:0;
    text-align:left;
  }
  .home .tm-home-primary .tm-post-window-heading h2 {
    margin:0;
    font-size:25px;
    line-height:1.05;
    text-align:left;
  }
  .home .tm-home-primary .tm-post-window-heading p {
    max-width:210px;
    margin:7px 0 0;
    color:#aebaca;
    font:450 12px/1.4 var(--font-sans);
    letter-spacing:0;
    text-align:left;
    text-transform:none;
  }
  .home .tm-home-primary .tm-post-window-heading p .tm-desktop-copy {
    display:inline;
    margin:0;
    color:inherit;
    font:inherit;
    letter-spacing:inherit;
    text-transform:none;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions {
    align-self:stretch;
    gap:9px;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions > a,
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions > a:not(.tm-post-window-card-tracker) {
    min-height:104px;
    gap:8px;
    padding:13px 8px;
    border-radius:17px;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions .tm-hub-card-icon,
  .home .tm-home-primary .tm-post-window-card-briefing .tm-hub-card-icon,
  .home .tm-home-primary .tm-post-window-card-deals .tm-hub-card-icon {
    width:38px;
    height:38px;
    flex-basis:38px;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions .tm-hub-card-icon svg {
    width:19px;
    height:19px;
  }
  .home .tm-home-primary .tm-post-window-grid.tm-hub-actions strong {
    font-size:12px;
  }
  .home .tm-home-primary .tm-january-watch-home {
    grid-column:1 / -1;
    margin-top:4px;
  }
  .home .tm-home-primary .tm-feed-intro { margin-top:0; }
}
