/* Additive visual layer for the verified local unified football stage.
   Legacy #app rendering, authentication, quick bet controls and wallet stay untouched. */
html[data-football-unified-attached="1"]{
 --bg:#081625; --bg-soft:#10253a; --bg-card:#152c42; --bg-hover:#1b3751;
 --border:#28455d; --text:#f0f5fc; --text-dim:#afc4d5; --text-mute:#738fa9;
 --accent:#ff9c14; --accent-dim:#c87a0c; --radius-sm:5px;
 background:#061525;
}
body.football-unified{background:radial-gradient(ellipse 75% 400px at 88% 0%,rgba(145,75,24,.32),transparent),#071727;color:var(--text)}
.football-unified .topbar{position:relative;top:auto;border-bottom:2px solid #e69219;background:linear-gradient(105deg,#0a2033 58%,#402a20 100%)}
.football-unified .topbar-inner{max-width:none;min-height:94px;height:auto;padding:13px 24px;gap:24px;flex-wrap:wrap}
.football-unified .brand{font-size:21px;letter-spacing:.4px}
.football-unified .brand-icon{font-size:30px;filter:drop-shadow(0 3px 3px #06111c)}
.football-unified .mainnav{order:3;flex:1 1 100%;display:flex;gap:5px;margin-top:4px;align-items:stretch}
.football-unified .mainnav a{font-size:14px;color:#eaf2fb;border:1px solid #36506a;border-radius:6px 6px 0 0;background:linear-gradient(#233e56,#152b41);padding:12px 19px;text-align:center}
.football-unified .mainnav a.active{color:#0d2030;font-weight:800;background:linear-gradient(#ffb742,#ec8d00);border-color:#ffa92f}
.football-unified .mainnav a[data-basketball-entry]{color:#edf6ff}
.football-unified .mainnav a[data-basketball-entry]:hover{color:#0c1d2b;background:linear-gradient(#ffb742,#ec8d00)}
.football-unified .topbar-tools{margin-left:auto}
.football-unified .topbar-tools select{background:#142a3e;border-color:#35506a;color:#f2f7fc}
.football-unified .status-strip{background:#0b2132;border-color:#1e3549}
.football-unified #announcementStrip .container{max-width:none}
.football-unified .fu-layout{max-width:2000px;margin:14px auto 48px;padding:0 12px;display:grid;grid-template-columns:184px minmax(0,1fr) 292px;gap:14px;align-items:start}
.football-unified .fu-side,.football-unified .fu-right{min-width:0}
.football-unified .fu-side{border-radius:7px;overflow:hidden;border:1px solid #28445d;background:linear-gradient(180deg,#172f46,#0b2034)}
.football-unified .fu-side-cap{padding:12px 15px;background:#0c2134;color:#8eafc7;font-size:12px;font-weight:700;letter-spacing:.02em;border-top:1px solid #2a455d}
.football-unified .fu-side-cap:first-child{border-top:0}
.football-unified .fu-side-links{display:grid}
.football-unified .fu-side-links a,.football-unified .fu-side-links button{display:flex;align-items:center;gap:11px;min-height:46px;padding:11px 13px;color:#f0f5f9;font-size:14px;font-weight:650;border-top:1px solid #234159}
.football-unified .fu-side-links a:first-child{border-top:0}
.football-unified .fu-side-links a span:first-child,.football-unified .fu-side-links button span:first-child{width:23px;color:#ffae2e;text-align:center;font-size:18px}
.football-unified .fu-side-links a:hover,.football-unified .fu-side-links a.active,.football-unified .fu-side-links button:not(:disabled):hover{background:linear-gradient(90deg,#ffa41b,#de8400);color:#102334}
.football-unified .fu-side-links a.active span:first-child,.football-unified .fu-side-links a:hover span:first-child{color:#102334}
.football-unified .fu-leagues{padding:8px 9px 12px;display:grid;gap:4px;max-height:320px;overflow-y:auto}
.football-unified .fu-leagues>span{color:#7d9bb1;font-size:11px;line-height:1.65;padding:10px 6px}
.football-unified .fu-leagues button{background:transparent;border:0;color:#c5d7e5;text-align:left;padding:9px 10px;cursor:pointer;border-radius:5px;font-size:12px}
.football-unified .fu-leagues button.active,.football-unified .fu-leagues button:hover{background:#b8751b;color:#fff}
.football-unified .fu-maincol{min-width:0}
.football-unified .fu-crumb{display:flex;align-items:center;gap:8px;font-size:12px;min-height:25px;margin-bottom:9px;color:#a2bed1;flex-wrap:wrap}
.football-unified .fu-crumb b{color:#ffad36}
.football-unified .fu-crumb-tag{margin-left:auto;color:#eead5f;font-size:11px}
.football-unified .fu-hero{min-height:124px;display:flex;align-items:center;gap:21px;padding:19px 22px;border:1px solid #36536a;border-radius:6px;background:radial-gradient(circle at 105% 0%,rgba(171,82,36,.3),transparent 51%),linear-gradient(110deg,#10374e,#173044 67%,#2b2a2e);margin-bottom:13px}
.football-unified .fu-hero-icon{width:79px;flex:none;font-size:60px;filter:drop-shadow(0 4px 8px #061422);line-height:1.4}
.football-unified .fu-kicker{font-size:13px;color:#ffc168;letter-spacing:.14em;font-weight:800}
.football-unified .fu-hero-copy{min-width:0}
.football-unified .fu-hero h1{margin:3px 0 1px;font-size:26px;line-height:1.35;color:#fff}
.football-unified .fu-hero p{margin:0;color:#c9d8e3;font-size:13px}
.football-unified .fu-hero-leagues{display:flex;margin-left:auto;align-items:center;gap:7px;justify-content:flex-end;flex-wrap:wrap}
.football-unified .fu-hero-leagues span{font-size:10px;min-width:49px;max-width:75px;text-align:center;color:#dbecf5;background:rgba(12,30,44,.55);border:1px solid #415467;border-radius:5px;padding:10px 4px;font-weight:700}
.football-unified .fu-route-tabs{display:flex;align-items:center;gap:8px;background:#102a40;border:1px solid #2a4861;border-bottom:0;border-radius:7px 7px 0 0;padding:10px 10px 0}
.football-unified .fu-route-tabs a{display:inline-flex;justify-content:center;align-items:center;min-width:86px;min-height:39px;padding:9px 14px;background:#1d3a51;border:1px solid #34536b;border-radius:5px 5px 0 0;font-weight:750;font-size:13px;color:#dae8f2}
.football-unified .fu-route-tabs a.active,.football-unified .fu-route-tabs a:hover{color:#192431;background:linear-gradient(#ffb640,#e58a00);border-color:#f6a82b}
.football-unified .fu-main-slot{min-width:0;background:#10283e;border:1px solid #28465f;border-radius:0 0 7px 7px;padding:0 9px 11px;min-height:300px}
.football-unified #app.container{max-width:none;width:100%;padding:11px 0 0;margin:0}
.football-unified #app .page-head{padding:3px 6px 9px}
.football-unified #app .page-title{color:#f7faff;font-size:20px}
.football-unified #app .section{background:#112a42;border-color:#2a455c}
.football-unified #app .section-head{background:#16344b;border-color:#31516a}
.football-unified #app .stat-card{background:linear-gradient(#163950,#102a3d);border-color:#31516a}
.football-unified #app .league-group{border:1px solid #25475e;border-radius:5px;overflow-x:auto;margin-bottom:10px;scrollbar-color:#37617c #0f293b}
.football-unified #app .league-bar{background:#16354c;border-bottom:1px solid #2c5065;color:#fff;min-width:900px}
.football-unified #app .match-table{min-width:900px;width:100%;font-size:12px;background:#112a40}
.football-unified #app .match-table thead th{background:linear-gradient(#ffae2c,#ed9013);color:#0e2535;border-color:#c97d0c;font-weight:800;font-size:11px;padding:9px 5px}
.football-unified #app .match-table tbody tr:nth-child(even){background:#10263a}
.football-unified #app .match-table tbody tr:hover{background:#1d3d56}
.football-unified #app .match-table td{padding:7px 5px}
.football-unified #app .odds-box{background:#1a3a54;color:#e6f3fc;border:1px solid #24455c;border-radius:4px;min-width:34px;padding:5px 4px;font-size:11px}
.football-unified #app .odds-box.line{color:#ffbd70;background:#244057}
.football-unified #app .odds-box.up{color:#ff9290}
.football-unified #app .odds-box.down{color:#81d39e}
.football-unified #app .odds-box.odds-quick:hover{border-color:#ffa31b;background:#37536a}
.football-unified #app .match-filter-bar{background:#16334a;border:1px solid #2d5068;border-radius:6px;padding:8px;gap:8px}
.football-unified #app .filter-bar select,.football-unified #app .filter-bar input{background:#0c2539;color:#eff8ff;border-color:#36556b}
.football-unified #app .empty-block,.football-unified #app .error-block{background:#0f293c;color:#c2d4e1}
.football-unified .fu-panel{border:1px solid #31506a;border-radius:7px;overflow:hidden;background:linear-gradient(#19364e,#10283d);margin-bottom:13px}
.football-unified .fu-panel h2{margin:0;padding:12px 15px;font-size:15px;color:#f1f7fd;background:#213e54;border-bottom:1px solid #35536a}
.football-unified .fu-slip h2{background:linear-gradient(#ffb138,#e98d08);color:#122737;font-weight:850}
.football-unified .fu-slip h2 span:first-child{margin-right:8px}
.football-unified .fu-slip-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:25px 16px 20px;min-height:200px;justify-content:center;gap:11px}
.football-unified .fu-slip-icon{font-size:40px;color:#567994}
.football-unified .fu-slip-empty strong{font-size:14px}
.football-unified .fu-slip-empty p{font-size:12px;color:#9db8ce;line-height:1.8;margin:0}
.football-unified .fu-slip-empty .fu-local-note{color:#f4b657}
.football-unified .fu-info dl{margin:0;padding:13px 15px 18px}
.football-unified .fu-info dt{color:#ffb13e;font-weight:800;font-size:13px;margin-top:7px}
.football-unified .fu-info dd{font-size:12px;line-height:1.55;color:#c2d5e6;margin:3px 0 10px}
.football-unified .footer .container{max-width:1600px}
.football-unified .modal,.football-unified .quick-bet-sheet{color:#ebf4ff}
/* Keep the bet-slip column alongside the odds table on ordinary desktop windows.
   V1 moved it underneath whenever the CSS viewport was <=1540px. */
@media (min-width:1121px) and (max-width:1540px){
 .football-unified .fu-layout{grid-template-columns:172px minmax(0,1fr) 264px;gap:12px}
 .football-unified .fu-right{grid-column:auto;display:block}
 .football-unified .fu-panel{margin-bottom:13px}
 .football-unified .fu-hero-leagues{display:none}
}
@media (min-width:951px) and (max-width:1120px){
 .football-unified .fu-layout{grid-template-columns:170px minmax(0,1fr);gap:12px}
 .football-unified .fu-right{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:12px}
 .football-unified .fu-panel{margin:0}
 .football-unified .fu-hero-leagues{display:none}
}
@media (max-width:950px){
 .football-unified .fu-layout{display:block;padding:0 9px}
 .football-unified .fu-side{display:none}
 .football-unified .fu-right{display:none}
 .football-unified .fu-hero{min-height:100px;padding:15px}
 .football-unified .fu-hero h1{font-size:20px}
 .football-unified .fu-hero-icon{font-size:43px;width:56px}
 .football-unified .topbar-inner{min-height:54px;padding:9px 12px}
 .football-unified .mainnav{order:initial;flex:1 1 100%;overflow-x:auto}
 .football-unified .mainnav a{padding:8px 10px;font-size:12px}
 .football-unified #app .match-table{min-width:0}
}
@media (max-width:600px){
 .football-unified .fu-route-tabs a{min-width:0;flex:1}
 .football-unified .fu-crumb-tag{margin-left:0}
 .football-unified .topbar .brand{font-size:17px}
 .football-unified .topbar-tools{max-width:100%;gap:4px}
 .football-unified .topbar-tools .tool-field{font-size:10px}
 .football-unified .fu-hero{gap:9px}
 .football-unified .fu-hero p{font-size:11px}
 .football-unified #app .league-bar{min-width:0}
 .football-unified #app .match-table{min-width:0}
}

@media (min-width:951px){
 .football-unified .mainnav a[data-nav="live"],
 .football-unified .mainnav a[data-nav="today"],
 .football-unified .mainnav a[data-nav="early"],
 .football-unified .mainnav a[data-nav="groupbuy"]{display:none}
}
.football-unified .mainnav .fu-soon-tab{display:flex;align-items:center;justify-content:center;border:1px solid #28485f;border-radius:6px 6px 0 0;padding:10px 15px;color:#849caf;background:#152a3b;font-size:13px;cursor:default}
.football-unified .fu-side-links button{border:0;background:none;font:inherit;width:100%;text-align:left;cursor:pointer}
.football-unified .fu-side-links button:disabled{opacity:.5;cursor:not-allowed}

/* The channel names are inserted by football-unified.js; retain enough width for labels. */
.football-unified .mainnav .fu-football-tab{min-width:84px}
.football-unified .mainnav .fu-soon-tab{min-width:110px;white-space:nowrap}
@media(max-width:720px){
 .football-unified .mainnav{display:none}
 .football-unified .mainnav.open{display:flex}
}

/* V6: football odds TABLE ONLY, desktop viewport >=1121px.
   Mobile and narrow tablet (<1121px), JS, HTML and business endpoints stay unchanged.
   Full-time and first-half markets remain visible via inner horizontal scroll.
*/
@media screen and (min-width:1121px) and (hover:hover) and (pointer:fine) {
  .football-unified #app .league-group {
    position:relative;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    scrollbar-color:#42728e #10273a;
    background:#10283e;
  }
  .football-unified #app .league-group::-webkit-scrollbar {height:10px}
  .football-unified #app .league-group::-webkit-scrollbar-track {background:#0e2537}
  .football-unified #app .league-group::-webkit-scrollbar-thumb {background:#466d85;border:2px solid #0e2537;border-radius:8px}
  .football-unified #app .league-bar {
    position:sticky;
    left:0;
    width:100%;
    min-width:0;
    box-sizing:border-box;
    z-index:5;
    min-height:35px;
    padding:8px 13px;
    background:linear-gradient(90deg,#1c3c53,#16334a);
  }
  .football-unified #app .match-table {
    table-layout:fixed;
    border-collapse:separate;
    border-spacing:0;
    width:max(100%,1360px);
    min-width:1360px;
    font-size:12px;
    font-variant-numeric:tabular-nums;
    background:#10283e;
  }
  .football-unified #app .match-table th,
  .football-unified #app .match-table td {box-sizing:border-box}
  .football-unified #app .match-table thead th {
    height:36px;
    padding:9px 5px;
    border-bottom:2px solid #b9710e;
    font-size:11px;
    white-space:nowrap;
  }
  .football-unified #app .match-table tbody td {
    height:62px;
    padding:7px 4px;
    border-bottom:1px solid rgba(129,165,188,.09);
  }
  .football-unified #app .match-table thead th:nth-child(1),
  .football-unified #app .match-table tbody td:nth-child(1) {width:75px}
  .football-unified #app .match-table thead th:nth-child(2),
  .football-unified #app .match-table tbody td:nth-child(2) {width:244px}
  .football-unified #app .match-table thead th:nth-child(3),
  .football-unified #app .match-table tbody td:nth-child(3) {width:58px}
  .football-unified #app .match-table thead th:nth-child(4),
  .football-unified #app .match-table tbody td:nth-child(4) {width:46px}
  .football-unified #app .match-table .cell-time {width:75px}
  .football-unified #app .match-table .cell-teams {width:244px;min-width:0}
  .football-unified #app .match-table .cell-score {width:58px}
  .football-unified #app .match-table .cell-corner {width:46px}
  .football-unified #app .match-table .team-row {
    display:flex;
    min-width:0;
    align-items:center;
    gap:4px;
    line-height:1.65;
  }
  .football-unified #app .match-table .team-name {
    display:block;
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    font-size:12px;
  }
  .football-unified #app .match-table .score-main {
    font-size:15px;
    font-weight:800;
    white-space:nowrap;
  }
  .football-unified #app .match-table .odds-cell {min-width:0}
  .football-unified #app .match-table .odds-trio {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:stretch;
    gap:3px;
    min-width:0;
    width:100%;
  }
  .football-unified #app .match-table .odds-box {
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    min-height:31px;
    padding:5px 2px;
    font-size:11px;
    line-height:1.15;
    white-space:nowrap;
    border-color:#2a4b62;
    border-radius:4px;
  }
  .football-unified #app .match-table .odds-box.line {
    flex-direction:column;
    gap:1px;
    color:#ffbb6a;
    background:#25445b;
    font-weight:750;
    font-size:11px;
  }
  .football-unified #app .match-table .odds-box.line .handi-side {
    display:block;
    margin:0;
    font-size:9px;
  }
  .football-unified #app .match-table .odds-box.odds-quick:focus-visible {
    outline:2px solid #ffad27;
    outline-offset:1px;
  }
  /* Keep key identifiers visible when scrolling across the six odds markets. */
  .football-unified #app .match-table thead th:nth-child(1),
  .football-unified #app .match-table tbody td:nth-child(1) {position:sticky;left:0;z-index:2}
  .football-unified #app .match-table thead th:nth-child(2),
  .football-unified #app .match-table tbody td:nth-child(2) {position:sticky;left:75px;z-index:2}
  .football-unified #app .match-table thead th:nth-child(3),
  .football-unified #app .match-table tbody td:nth-child(3) {position:sticky;left:319px;z-index:2;box-shadow:5px 0 9px -6px rgba(0,0,0,.9)}
  .football-unified #app .match-table thead th:nth-child(-n+3) {z-index:4}
  .football-unified #app .match-table tbody tr:nth-child(odd) td:nth-child(-n+3) {background:#142f46}
  .football-unified #app .match-table tbody tr:nth-child(even) td:nth-child(-n+3) {background:#112a40}
  .football-unified #app .match-table tbody tr:hover td:nth-child(-n+3) {background:#20405a}
}


/* V7.1: Fix static-asset allowlist path and desktop breakpoint.
   V7 asset path /img/ was not permitted by the V5 local static server.
   This file uses /images/ which is on the existing allowlist.
   V7: decorative competition logos, sourced from the approved reference image.
   Desktop hero ONLY. No changes to mobile, tables, JS, odds, or bet flow.
   At viewport widths under 1121 CSS px, preserve original V6 appearance.
*/
@media screen and (min-width:1121px) and (hover:hover) and (pointer:fine) {
  .football-unified .fu-hero {
    gap:12px;
    padding:14px 15px;
  }
  .football-unified .fu-hero-icon {
    flex:none;
    width:60px;
    font-size:48px;
  }
  .football-unified .fu-hero-copy {
    flex:0 1 280px;
  }
  .football-unified .fu-hero-leagues {
    display:block;
    flex:0 1 510px;
    min-width:270px;
    max-width:510px;
    margin-left:auto;
    align-self:center;
    pointer-events:none;
  }
  .football-unified .fu-hero-leagues span {
    display:none;
  }
  .football-unified .fu-hero-leagues::before {
    content:"";
    display:block;
    width:100%;
    aspect-ratio:531 / 87;
    background:transparent url('/images/football-league-logos-v7.png') center / contain no-repeat;
  }
}

/* V8: mobile-only football hero league artwork and readable market rows.
   Existing table cells, data-quick-bet identifiers, odds values and events are
   left untouched; no JavaScript, API, or account behavior is changed. */
@media screen and (max-width:720px) {
  body.football-unified .fu-hero {
    display:grid; grid-template-columns:34px minmax(0, 1fr) minmax(140px, 1.3fr);
    gap:7px; padding:11px 10px; min-height:118px; align-items:center;
  }
  body.football-unified .fu-hero-icon {width:34px;font-size:31px;line-height:1.1;}
  body.football-unified .fu-hero-copy{min-width:0;}
  body.football-unified .fu-kicker{font-size:9px;letter-spacing:.045em;line-height:1.25;}
  body.football-unified .fu-hero h1 {font-size:17px;line-height:1.22;margin:4px 0;}
  body.football-unified .fu-hero p{font-size:9px;line-height:1.35;}
  body.football-unified .fu-hero-leagues {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:repeat(2,48px); justify-items:center; align-items:center;
    gap:3px 2px; width:100%; min-width:0; max-width:none; margin:0;
    padding:5px 3px;border:1px solid rgba(243,162,51,.27);
    border-radius:6px;background:rgba(6,19,33,.36);pointer-events:none;
  }
  body.football-unified .fu-hero-leagues::before{display:none!important;content:none!important;}
  body.football-unified .fu-hero-leagues span,
  body.football-unified .fu-hero-leagues::after {
    display:block!important; min-width:0; max-width:none; width:100%; height:46px;
    box-sizing:border-box; border:0; border-radius:0; padding:0;
    background-color:transparent; background-position:center; background-size:contain;
    background-repeat:no-repeat; font-size:0; line-height:0; color:transparent;
    overflow:hidden; text-align:center;
  }
  body.football-unified .fu-hero-leagues span:nth-child(1){background-image:url('/images/football-v8-premier.png')}
  body.football-unified .fu-hero-leagues span:nth-child(2){background-image:url('/images/football-v8-laliga.png')}
  body.football-unified .fu-hero-leagues span:nth-child(3){background-image:url('/images/football-v8-bundesliga.png')}
  body.football-unified .fu-hero-leagues span:nth-child(4){background-image:url('/images/football-v8-seriea.png')}
  body.football-unified .fu-hero-leagues span:nth-child(5){background-image:url('/images/football-v8-ligue1.png')}
  body.football-unified .fu-hero-leagues span:nth-child(6){background-image:url('/images/football-v8-champions.png')}
  body.football-unified .fu-hero-leagues::after {
    content:'';background-image:url('/images/football-v8-europa.png');
  }

  /* Force the same stacked card on home, today, early and live routes.
     The original stylesheet has route-specific high-specificity phone rules. */
  body.football-unified #app .league-group{
    overflow:hidden!important; max-width:100%;
  }
  body.football-unified #app .match-table,
  body.football-unified #app .match-table tbody {
    display:block!important; width:100%!important;min-width:0!important;
    max-width:100%!important;table-layout:auto!important;
  }
  body.football-unified #app .match-table thead{display:none!important;}
  body.football-unified #app .match-table tbody tr {
    display:grid!important; grid-template-columns:minmax(0,1fr) 56px!important;
    grid-template-areas:'meta meta' 'teams score' 'europe europe' 'handicap handicap' 'total total'!important;
    gap:6px 8px!important; align-items:stretch!important; padding:12px 10px!important;
    min-height:0!important; width:100%!important;box-sizing:border-box!important;
    border-bottom:1px solid #2a4355!important;background:#10283c!important;
  }
  body.football-unified #app .match-table tbody tr:nth-child(even){background:#0e2336!important;}
  body.football-unified #app .match-table td{
    min-width:0!important;max-width:100%;width:auto!important; height:auto!important;
    position:static!important;float:none!important; margin:0!important;padding:0!important;
    border:0!important;box-shadow:none!important;box-sizing:border-box!important;
  }
  body.football-unified #app .match-table td.cell-time{
    grid-area:meta!important;display:flex!important;flex-direction:row!important;
    align-items:center!important; justify-content:flex-start!important;
    gap:9px!important;min-height:20px!important;color:#a3bdd2;
  }
  body.football-unified #app .match-table .cell-time .time{font-size:11px!important;line-height:1.3!important;}
  body.football-unified #app .match-table .cell-time .status{font-size:11px!important;line-height:1.3!important;margin:0!important;}
  body.football-unified #app .match-table .cell-time .favorite-btn{margin:0 0 0 auto!important;transform:none!important;}
  body.football-unified #app .match-table td.cell-teams{
    grid-area:teams!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:repeat(2,minmax(26px,auto))!important;align-content:center!important;
    gap:3px!important; min-height:60px!important; text-align:left!important;
  }
  body.football-unified #app .match-table .cell-teams .team-row {
    display:flex!important;grid-column:1!important;min-width:0!important;
    height:auto!important;min-height:26px!important;align-items:center!important;
    gap:5px!important;overflow:hidden!important;
  }
  body.football-unified #app .match-table .cell-teams .team-row:first-child{grid-row:1!important;}
  body.football-unified #app .match-table .cell-teams .team-row:nth-child(2){grid-row:2!important;}
  body.football-unified #app .match-table .team-name {
    display:block!important;flex:1 1 0!important;min-width:0!important;max-width:100%!important;
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    font-size:13px!important;line-height:1.5!important;font-weight:650!important;
  }
  body.football-unified #app .match-table td.cell-score{
    grid-area:score!important;display:flex!important;align-items:center!important;
    justify-content:center!important;flex-direction:column!important;
  }
  body.football-unified #app .match-table .cell-score .score-main{
    display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(2,28px)!important;
    align-items:center!important;justify-items:center!important;min-height:56px!important;
    width:100%!important;font-size:16px!important;color:#f58280!important;
  }
  body.football-unified #app .match-table .cell-score .score-home,
  body.football-unified #app .match-table .cell-score .score-away{
    display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;
  }
  body.football-unified #app .match-table .cell-score .score-divider,
  body.football-unified #app .match-table .cell-score .score-half{display:none!important;}
  body.football-unified #app .match-table .cell-score .score-main:not(:has(.score-home)){
    display:flex!important;justify-content:center!important;min-height:45px!important;
  }
  body.football-unified #app .match-table .cell-corner,
  body.football-unified #app .match-table .odds-cell.half-col {display:none!important;}
  body.football-unified #app .match-table td.odds-cell {
    display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;
    align-items:center!important;gap:8px!important;min-height:45px!important;
    padding:7px 0 1px!important;border-top:1px solid #29435a!important;
    justify-self:stretch!important;overflow:visible!important;
  }
  body.football-unified #app .match-table td.odds-cell:nth-child(5){grid-area:handicap!important;}
  body.football-unified #app .match-table td.odds-cell:nth-child(6){grid-area:total!important;}
  body.football-unified #app .match-table td.odds-cell.eu-col{
    grid-area:europe!important;display:grid!important;max-width:none!important;
  }
  body.football-unified #fuLayout #app .match-table td.odds-cell.eu-col{display:grid!important;}
  body.football-unified #app .match-table td.odds-cell::before {
    content:attr(data-mobile-market)!important;display:block!important;
    position:static!important;inset:auto!important;transform:none!important;
    width:100%;font-size:11px!important;line-height:1.3!important;
    text-align:left!important;color:#b4cde1!important;font-weight:700!important;
  }
  body.football-unified #app .match-table .odds-trio {
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-rows:minmax(38px,auto)!important;align-items:stretch!important;
    gap:5px!important;width:100%!important;min-width:0!important;
  }
  body.football-unified #app .match-table .odds-box,
  body.football-unified #app .match-table .odds-closed,
  body.football-unified #app .match-table .odds-none {
    display:flex!important;min-width:0!important;min-height:38px!important;
    width:100%!important;max-width:100%!important;height:auto!important;
    padding:6px 2px!important;box-sizing:border-box!important;
    align-items:center!important;justify-content:center!important;
    overflow:hidden!important;word-break:normal!important;white-space:nowrap!important;
    border:1px solid #35536a!important;border-radius:5px!important;
    background:#1b3b55!important;color:#e9f5fc;font-size:12px!important;
    font-weight:720!important;line-height:1.15!important;font-variant-numeric:tabular-nums;
  }
  body.football-unified #app .match-table .odds-box.line {
    flex-direction:column!important;gap:1px!important;
    background:#29465e!important;color:#ffbd75!important;font-size:11px!important;
  }
  body.football-unified #app .match-table .handi-side {
    display:inline-block!important; padding:0 2px!important;margin:0!important;
    font-size:9px!important;line-height:1.1!important;
  }
  body.football-unified #app .match-table .odds-box.up {color:#ff9692!important;}
  body.football-unified #app .match-table .odds-box.down {color:#81d7ae!important;}
  body.football-unified #app .match-table .odds-move {
    display:inline-block!important; margin-left:2px!important;font-size:8px!important;
    flex:none!important;line-height:1!important;
  }
  body.football-unified #app .match-table button.odds-quick:focus-visible{
    outline:2px solid #ffb13f!important;outline-offset:1px!important;
  }
  body.football-unified #app .match-table button.odds-quick:disabled{opacity:.6;}
  body.football-unified #app .match-table .odds-none,
  body.football-unified #app .match-table .odds-closed{
    color:#8ca8ba!important;background:#152e43!important;
  }
}
@media screen and (max-width:355px){
  body.football-unified .fu-hero{grid-template-columns:29px minmax(0,1fr) minmax(120px,1.25fr);gap:5px;}
  body.football-unified .fu-hero-icon{width:29px;font-size:27px;}
  body.football-unified .fu-hero h1{font-size:15px;}
  body.football-unified .fu-hero-leagues{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,43px);}
  body.football-unified .fu-hero-leagues span,body.football-unified .fu-hero-leagues::after{height:41px;}
  body.football-unified #app .match-table td.odds-cell{grid-template-columns:55px minmax(0,1fr)!important;gap:5px!important;}
  body.football-unified #app .match-table .odds-trio{gap:3px!important;}
  body.football-unified #app .match-table .odds-box{font-size:11px!important;}
}

/* Stage 10: desktop seven genuine competition image assets.
   The former V7 desktop rule referenced an image that this readonly server never serves.
   Retain existing V8 7-image mobile presentation and avoid all betting/table changes. */
@media screen and (min-width:1121px) {
  body.football-unified .fu-hero {gap:12px;}
  body.football-unified .fu-hero-copy {flex:0 1 268px;}
  body.football-unified .fu-hero-leagues {
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    align-items:center;
    gap:5px;
    flex:1 1 480px;
    min-width:310px;
    max-width:600px;
    width:100%;
    margin-left:auto;
    background:none;
    pointer-events:none;
  }
  body.football-unified .fu-hero-leagues::before {display:none!important;content:none!important;}
  body.football-unified .fu-hero-leagues span,
  body.football-unified .fu-hero-leagues::after {
    display:block;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:none;
    height:68px;
    border:0;
    padding:0;
    border-radius:0;
    background-color:transparent;
    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;
    color:transparent;
    font-size:0;
    line-height:0;
    overflow:hidden;
  }
  body.football-unified .fu-hero-leagues span:nth-child(1){background-image:url('/images/football-v8-premier.png')}
  body.football-unified .fu-hero-leagues span:nth-child(2){background-image:url('/images/football-v8-laliga.png')}
  body.football-unified .fu-hero-leagues span:nth-child(3){background-image:url('/images/football-v8-bundesliga.png')}
  body.football-unified .fu-hero-leagues span:nth-child(4){background-image:url('/images/football-v8-seriea.png')}
  body.football-unified .fu-hero-leagues span:nth-child(5){background-image:url('/images/football-v8-ligue1.png')}
  body.football-unified .fu-hero-leagues span:nth-child(6){background-image:url('/images/football-v8-champions.png')}
  body.football-unified .fu-hero-leagues::after{content:'';background-image:url('/images/football-v8-europa.png')}
}
@media screen and (min-width:1121px) and (max-width:1370px) {
  body.football-unified .fu-hero-copy{flex:0 1 225px;}
  body.football-unified .fu-hero-leagues{gap:2px;min-width:265px;}
  body.football-unified .fu-hero-leagues span,
  body.football-unified .fu-hero-leagues::after{height:51px;}
}


/* MOBILE_1X2_HALF_COLUMN_FIX */
@media (max-width:720px) {
  body:has(.mainnav a[data-nav="live"].active)
  #app .match-table td.odds-cell.eu-col.half-col,
  body:has(.mainnav a[data-nav="home"].active,
           .mainnav a[data-nav="today"].active,
           .mainnav a[data-nav="early"].active)
  #app .match-table td.odds-cell.eu-col.half-col {
    display:none!important;
  }
}


/* MOBILE_HIDE_HALF_1X2_V2 */
@media screen and (max-width:720px) {
  body.football-unified #fuLayout #app
  .match-table td.odds-cell.eu-col.half-col {
    display:none!important;
  }
}

/* SPORT_NAV_V2 */

#mainnav a[data-fu="football"]::before{content:"⚽ ";margin-right:5px}
#mainnav a[data-basketball-entry]::before{content:"🏀 ";margin-right:5px}
#mainnav a[href="/american-football-member.html"]::before{content:"🏈 ";margin-right:5px}

