/* MatchLab v1.3.0 — mobile-first visual system + UEFA format */
:root{
  --ml130-surface:rgba(14,24,40,.88);
  --ml130-surface-2:rgba(18,30,49,.94);
  --ml130-line:rgba(255,255,255,.09);
  --ml130-line-strong:rgba(255,255,255,.14);
  --ml130-text:#f7f9fc;
  --ml130-muted:#91a0b5;
  --ml130-accent:#4ba3ff;
  --ml130-accent-soft:rgba(75,163,255,.13);
  --ml130-radius:18px;
}
html[data-theme="light"]{
  --ml130-surface:rgba(255,255,255,.94);
  --ml130-surface-2:#fff;
  --ml130-line:rgba(16,34,56,.09);
  --ml130-line-strong:rgba(16,34,56,.14);
  --ml130-text:#101a29;
  --ml130-muted:#68778a;
  --ml130-accent:#0879e8;
  --ml130-accent-soft:rgba(8,121,232,.09);
}

/* Competition marks must never depend on the dimensions of provider artwork. */
.ml130-competition-logo,.ml120-comp-mark{
  position:relative;display:inline-grid;place-items:center;flex:0 0 auto;
  width:48px;height:48px;border-radius:13px;overflow:hidden;
  background:rgba(255,255,255,.055);border:1px solid var(--ml130-line);
}
.ml130-competition-logo img,.ml120-comp-mark img{width:82%;height:82%;object-fit:contain;display:block;position:absolute;inset:9%;}
.ml130-competition-logo>span,.ml120-comp-mark>i{font:800 12px/1 Inter,Arial,sans-serif;color:var(--ml130-muted);font-style:normal;}
.ml120-comp-mark.failed i{display:block}.ml120-comp-mark:not(.failed) i{display:none}

/* UEFA is a phase model, not one giant tree. */
.ml130-uefa{display:grid;gap:18px;min-width:0}
.ml130-uefa-hero{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid var(--ml130-line);border-radius:20px;background:linear-gradient(135deg,rgba(49,82,144,.14),rgba(12,22,39,.22));}
.ml130-uefa-hero .competition-logo{width:62px;height:62px;border-radius:16px}
.ml130-uefa-hero small,.ml130-uefa-stage header small{display:block;font:800 10px/1.2 Inter,sans-serif;letter-spacing:.12em;color:var(--ml130-accent);margin-bottom:5px}
.ml130-uefa-hero h2,.ml130-uefa-stage h3{margin:0;color:var(--ml130-text);font-family:Inter,Arial,sans-serif;letter-spacing:-.025em}
.ml130-uefa-hero h2{font-size:24px}.ml130-uefa-hero p,.ml130-uefa-stage header p{margin:5px 0 0;color:var(--ml130-muted);line-height:1.45}
.ml130-uefa-stage{border:1px solid var(--ml130-line);background:var(--ml130-surface);border-radius:20px;padding:18px;min-width:0;overflow:hidden}
.ml130-uefa-stage>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:14px}
.ml130-uefa-stage>header>div{display:flex;align-items:center;gap:12px}
.ml130-uefa-stage>header>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--ml130-accent-soft);border:1px solid rgba(75,163,255,.2);color:var(--ml130-accent);font:800 12px Inter,sans-serif}
.ml130-uefa-stage h3{font-size:19px}.ml130-uefa-stage>header p{max-width:410px;text-align:right;font-size:13px}
.ml130-uefa-qual{display:grid;gap:8px}.ml130-uefa-qual details{border:1px solid var(--ml130-line);border-radius:14px;background:rgba(255,255,255,.025);overflow:hidden}
.ml130-uefa-qual summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:13px 14px;color:var(--ml130-text)}
.ml130-uefa-qual summary::-webkit-details-marker{display:none}.ml130-uefa-qual summary span{font-weight:750;flex:1}.ml130-uefa-qual summary em{font-size:12px;color:var(--ml130-muted);font-style:normal}.ml130-uefa-qual summary i{font-style:normal;color:var(--ml130-muted)}
.ml130-uefa-matchlist{display:grid;gap:7px;padding:0 10px 10px}.ml130-uefa-match{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr) 86px;align-items:center;gap:8px;text-decoration:none;padding:10px 11px;border:1px solid var(--ml130-line);border-radius:12px;background:rgba(255,255,255,.025);color:var(--ml130-text)}
.ml130-uefa-team{display:flex;align-items:center;gap:8px;min-width:0}.ml130-uefa-team.away{justify-content:flex-start}.ml130-uefa-team .club-logo{width:27px;height:27px;min-width:27px}.ml130-uefa-team span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650}.ml130-uefa-match>strong{text-align:center;font-size:13px}.ml130-uefa-match>small{text-align:right;color:var(--ml130-muted);font-size:11px}
.ml130-uefa-rounds{display:flex;gap:7px;overflow:auto;padding:2px 0 10px;scrollbar-width:none}.ml130-uefa-rounds::-webkit-scrollbar{display:none}.ml130-uefa-rounds button{flex:0 0 auto;min-width:42px;height:36px;border-radius:11px;border:1px solid var(--ml130-line);background:rgba(255,255,255,.03);color:var(--ml130-muted);font-weight:750}.ml130-uefa-rounds button.active{background:var(--ml130-accent-soft);border-color:rgba(75,163,255,.28);color:var(--ml130-accent)}
.ml130-uefa-roundpanel{display:none}.ml130-uefa-roundpanel.active{display:block}.ml130-uefa-ko-empty{display:grid;place-items:center;text-align:center;padding:30px 18px;border:1px dashed var(--ml130-line-strong);border-radius:16px;background:rgba(255,255,255,.018)}.ml130-uefa-ko-empty>div{font-size:26px;margin-bottom:8px}.ml130-uefa-ko-empty b{color:var(--ml130-text);font-size:15px}.ml130-uefa-ko-empty span{max-width:440px;color:var(--ml130-muted);font-size:13px;line-height:1.45;margin-top:5px}

@media (max-width:900px){
  html,body{max-width:100%;overflow-x:hidden!important}
  body{background:#07101d!important;color:var(--ml130-text);-webkit-font-smoothing:antialiased}
  html[data-theme="light"] body{background:#f3f6fa!important}
  *{box-sizing:border-box}
  img,svg,video,canvas{max-width:100%}

  /* App shell */
  .app-shell{display:block!important;min-width:0!important;width:100%!important}
  .sidebar{display:none!important}
  .main{margin:0!important;width:100%!important;min-width:0!important;max-width:none!important;padding:0!important}
  .content{width:100%!important;max-width:760px!important;margin:0 auto!important;padding:14px 14px calc(104px + env(safe-area-inset-bottom))!important;overflow:visible!important}
  .topbar{position:sticky!important;top:0!important;z-index:170!important;height:62px!important;min-height:62px!important;padding:10px 14px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--ml130-line)!important;background:rgba(7,16,29,.88)!important;backdrop-filter:blur(18px) saturate(150%)!important;-webkit-backdrop-filter:blur(18px) saturate(150%)!important}
  html[data-theme="light"] .topbar{background:rgba(246,249,252,.91)!important}
  .top-title{min-width:0!important;flex:1!important}.top-title h1{font-size:19px!important;line-height:1.1!important;letter-spacing:-.035em!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.top-title p{font-size:11px!important;margin:4px 0 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--ml130-muted)!important}
  .top-actions{gap:7px!important;flex:0 0 auto!important}.top-actions>.search,.top-actions>.global-search,.top-actions>input.search{display:none!important}.top-actions .icon-btn{width:38px!important;height:38px!important;border-radius:12px!important;background:rgba(255,255,255,.045)!important;border:1px solid var(--ml130-line)!important}.top-actions .avatar{width:38px!important;height:38px!important;border-radius:12px!important}
  .ml179-lang.app{max-width:42px!important;width:42px!important;height:38px!important;padding:0!important;border-radius:12px!important;overflow:hidden!important}.ml179-lang.app span{display:none!important}.ml179-lang.app select{width:100%!important;min-width:0!important;padding:0 3px!important;font-size:0!important;background:transparent!important}.ml179-lang.app select option{font-size:14px!important}

  /* Premium surface rhythm */
  .card,.comp116-card,.competition-hero-v102,.match-v87-hero,.compare-v107-hero,.ml100-paywall-card,.team-v86-hero,.team-v85-hero{
    border:1px solid var(--ml130-line)!important;border-radius:18px!important;background:var(--ml130-surface)!important;box-shadow:0 10px 36px rgba(0,0,0,.14)!important;min-width:0!important;max-width:100%!important
  }
  .card{padding:15px!important}
  h1,h2,h3,h4{letter-spacing:-.025em}
  button,a,input,select{touch-action:manipulation}
  .btn{min-height:44px!important;border-radius:13px!important;font-weight:700!important}
  .select,select,input,textarea{max-width:100%!important;min-width:0!important}

  /* Bottom navigation — app-like, not desktop sidebar squeezed into phone. */
  .ml101-mobile-ui{display:block!important}
  .ml101-mobile-bar{position:fixed!important;left:10px!important;right:10px!important;bottom:calc(9px + env(safe-area-inset-bottom))!important;z-index:500!important;height:66px!important;padding:7px!important;display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:3px!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:21px!important;background:rgba(10,19,32,.94)!important;box-shadow:0 18px 48px rgba(0,0,0,.38)!important;backdrop-filter:blur(20px) saturate(160%)!important;-webkit-backdrop-filter:blur(20px) saturate(160%)!important}
  html[data-theme="light"] .ml101-mobile-bar{background:rgba(255,255,255,.96)!important;border-color:rgba(15,31,51,.1)!important;box-shadow:0 14px 36px rgba(28,49,74,.16)!important}
  .ml101-mobile-bar>a,.ml101-mobile-bar>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-width:0!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#7f8fa5!important;text-decoration:none!important;padding:5px 2px!important}
  .ml101-mobile-bar>a i,.ml101-mobile-bar>button i{height:21px!important;display:grid!important;place-items:center!important;font-style:normal!important;font-size:17px!important}.ml101-mobile-bar>a span,.ml101-mobile-bar>button span{font-size:9.5px!important;font-weight:700!important;line-height:1!important}.ml101-mobile-bar>a.active{background:rgba(70,158,255,.12)!important;color:#5cabff!important}.ml101-mobile-bar>a.active i{transform:translateY(-1px)}
  .ml101-mobile-backdrop{position:fixed!important;inset:0!important;z-index:510!important;background:rgba(0,0,0,.48)!important;backdrop-filter:blur(3px)!important;opacity:0!important;visibility:hidden!important;transition:.2s ease!important}.ml101-mobile-sheet{position:fixed!important;z-index:520!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;width:auto!important;max-height:min(72vh,620px)!important;overflow:auto!important;transform:translateY(calc(100% + 30px))!important;border:1px solid var(--ml130-line-strong)!important;border-radius:24px!important;background:#101b2c!important;box-shadow:0 24px 70px rgba(0,0,0,.55)!important;padding:8px 14px 18px!important;transition:transform .22s cubic-bezier(.2,.8,.2,1)!important}.ml101-sheet-grab{width:42px!important;height:4px!important;border-radius:999px!important;background:rgba(255,255,255,.22)!important;margin:4px auto 12px!important}.ml101-mobile-sheet header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 2px 12px!important}.ml101-mobile-sheet header b{font-size:18px!important}.ml101-mobile-sheet header small{display:block!important;color:var(--ml130-muted)!important;margin-top:3px!important}.ml101-mobile-sheet header button{width:38px!important;height:38px!important;border-radius:12px!important}.ml101-sheet-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.ml101-sheet-grid a{min-height:58px!important;border-radius:14px!important;padding:11px!important;border:1px solid var(--ml130-line)!important;background:rgba(255,255,255,.035)!important}
  body.ml101-sheet-open .ml101-mobile-backdrop{opacity:1!important;visibility:visible!important}body.ml101-sheet-open .ml101-mobile-sheet{transform:translateY(0)!important}

  /* Home */
  .home,.home-reference-layout,.home-lower-grid,.home-featured-grid,.home-main-grid,.dashboard-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;min-width:0!important}
  .home-left-column,.home-right-column{min-width:0!important;width:100%!important;display:grid!important;gap:12px!important}
  .home-section-head{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:10px!important;margin:4px 2px 10px!important}.home-section-head h2{font-size:18px!important;margin:0!important}.home-section-head p,.home-section-head span{font-size:11px!important;color:var(--ml130-muted)!important}
  .home-kpi-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.home-kpi{min-width:0!important;padding:13px!important;border-radius:15px!important}.home-kpi strong{font-size:22px!important}.home-kpi span{font-size:10px!important}
  .home-form-rows,.home-news-block{min-width:0!important;overflow:hidden!important}
  .home-news143-card{grid-template-columns:88px minmax(0,1fr)!important;gap:11px!important;padding:10px!important;border-radius:14px!important}.home-news143-image{width:88px!important;height:74px!important;border-radius:11px!important;object-fit:cover!important}
  [class*="featured-match"],[class*="home-match-card"]{min-width:0!important;max-width:100%!important}

  /* Competition */
  .competition-page-v102,.competition-page-v108,.comp116-page{width:100%!important;min-width:0!important;display:block!important}
  .competition-breadcrumb-v102,.comp116-breadcrumb{display:none!important}
  .competition-hero-v102,.comp116-hero{padding:16px!important;margin:0 0 12px!important;display:grid!important;gap:14px!important}
  .competition-identity-v102,.comp116-identity{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important}.competition-identity-v102>img,.comp116-identity>img,.competition-identity-v102 .competition-logo,.comp116-identity .competition-logo,.competition-identity-v102 .ml120-comp-mark,.comp116-identity .ml120-comp-mark{width:58px!important;height:58px!important;flex:0 0 58px!important;object-fit:contain!important}.competition-identity-v102 h1,.comp116-identity h1{font-size:22px!important;line-height:1.08!important;margin:0!important}.competition-identity-v102 p,.comp116-identity span{font-size:11px!important;margin-top:4px!important;color:var(--ml130-muted)!important}
  .competition-kpis-v102,.comp116-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.competition-kpis-v102>div,.comp116-kpis>div{padding:10px!important;border-radius:13px!important;background:rgba(255,255,255,.035)!important;border:1px solid var(--ml130-line)!important;min-width:0!important}.competition-kpis-v102 strong,.comp116-kpis strong{font-size:18px!important}.competition-kpis-v102 span,.comp116-kpis span{font-size:9.5px!important}
  .comp116-tabs{position:sticky!important;top:62px!important;z-index:120!important;display:flex!important;gap:7px!important;width:calc(100% + 28px)!important;margin:0 -14px 12px!important;padding:9px 14px!important;overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none!important;background:rgba(7,16,29,.9)!important;border-top:1px solid var(--ml130-line)!important;border-bottom:1px solid var(--ml130-line)!important;backdrop-filter:blur(15px)!important}.comp116-tabs::-webkit-scrollbar{display:none}.comp116-tabs button{flex:0 0 auto!important;height:36px!important;padding:0 13px!important;border-radius:11px!important;border:1px solid var(--ml130-line)!important;background:rgba(255,255,255,.035)!important;color:var(--ml130-muted)!important;font-size:11px!important;font-weight:750!important}.comp116-tabs button.active{color:var(--ml130-text)!important;background:var(--ml130-accent-soft)!important;border-color:rgba(75,163,255,.24)!important}
  .comp116-layout,.competition-main-grid-v102,.comp116-centergrid,.comp116-leaders,.competition-featured-v102,.competition-form-grid-v102{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;min-width:0!important}.comp116-maincol,.comp116-rail{width:100%!important;min-width:0!important}.comp116-rail{position:static!important}
  .comp116-card{padding:14px!important;margin:0!important;overflow:hidden!important}.comp116-card-head{gap:10px!important}.comp116-card-head h3{font-size:16px!important}.comp116-card-head small{font-size:10px!important}
  .comp116-table-wrap,.competition-table-scroll-v102{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:13px!important}.comp116-table-wrap table,.competition-table-v102{min-width:620px!important;width:100%!important}.comp116-table-wrap th,.comp116-table-wrap td{padding:9px 8px!important;font-size:11px!important}.comp116-table-wrap td:nth-child(2){position:sticky!important;left:0!important;background:var(--ml130-surface-2)!important;z-index:2!important}
  .comp116-match-row,.competition-match-card-v102{min-width:0!important;max-width:100%!important;border-radius:14px!important}.competition-participants-v102{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.competition-participants-v102>*{min-width:0!important}

  /* UEFA mobile */
  .ml130-uefa{gap:12px!important}.ml130-uefa-hero{padding:15px!important;border-radius:17px!important;align-items:flex-start!important}.ml130-uefa-hero .competition-logo{width:52px!important;height:52px!important;flex:0 0 52px!important}.ml130-uefa-hero h2{font-size:19px!important}.ml130-uefa-hero p{font-size:11px!important}.ml130-uefa-stage{padding:13px!important;border-radius:17px!important}.ml130-uefa-stage>header{display:block!important;margin-bottom:11px!important}.ml130-uefa-stage>header>div>span{width:31px!important;height:31px!important}.ml130-uefa-stage>header p{text-align:left!important;font-size:11px!important;margin:7px 0 0 43px!important}.ml130-uefa-stage h3{font-size:16px!important}.ml130-uefa-matchlist{padding:0 7px 7px!important}.ml130-uefa-match{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)!important;grid-template-areas:"home score away" "date date date"!important;padding:9px!important;gap:6px!important}.ml130-uefa-match>.ml130-uefa-team:first-child{grid-area:home}.ml130-uefa-match>strong{grid-area:score}.ml130-uefa-match>.ml130-uefa-team.away{grid-area:away;flex-direction:row-reverse!important;text-align:right!important}.ml130-uefa-match>small{grid-area:date;text-align:center!important;padding-top:6px!important;border-top:1px solid var(--ml130-line)!important}.ml130-uefa-team .club-logo{width:24px!important;height:24px!important;min-width:24px!important}.ml130-uefa-team span{font-size:11px!important}.ml130-uefa-qual summary{padding:11px!important}.ml130-uefa-qual summary span{font-size:12px!important}.ml130-uefa-qual summary em{font-size:10px!important}.ml130-uefa-rounds{margin-right:-13px!important;padding-right:13px!important}.ml130-uefa-ko .mlv77-bracket-scroll{margin:0!important;max-width:100%!important;overflow-x:auto!important}

  /* Match page */
  .match-v87{min-width:0!important;width:100%!important}.match-v87-breadcrumb{display:none!important}.match-v87-hero{padding:14px!important;margin-bottom:10px!important}.match-v87-comp{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;padding-bottom:11px!important;border-bottom:1px solid var(--ml130-line)!important}.match-v87-comp img{width:30px!important;height:30px!important;object-fit:contain!important}.match-v87-comp b{font-size:11px!important}.match-v87-comp span{font-size:9.5px!important}.match-v87-scoreline{display:grid!important;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr)!important;align-items:start!important;gap:8px!important;padding:17px 0 10px!important}.match-v87-club{min-width:0!important;gap:7px!important}.match-v87-club .club-logo{width:54px!important;height:54px!important}.match-v87-club b{font-size:11px!important;line-height:1.25!important;text-align:center!important;white-space:normal!important}.match-v87-score strong{font-size:27px!important}.match-v87-score span,.match-v87-score small{font-size:9px!important}.match-v87-meta{display:flex!important;gap:6px!important;overflow-x:auto!important;scrollbar-width:none!important}.match-v87-meta>*{flex:0 0 auto!important;font-size:9.5px!important}.match-v87-tabs{position:sticky!important;top:62px!important;z-index:110!important;display:flex!important;gap:6px!important;padding:8px 0!important;background:#07101d!important}.match-v87-tabs button{flex:1!important;height:38px!important;border-radius:12px!important}.match-v87-layout{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.match-v87-layout main,.match-v87-layout aside{min-width:0!important;width:100%!important}.match-v87-statrow{grid-template-columns:minmax(56px,1fr) 46px minmax(56px,1fr)!important;gap:8px!important}.match-v87-playergrid{grid-template-columns:1fr!important}

  /* Compare — deliberately one mobile flow, never a squeezed three-column desktop component. */
  .compare-v107-shell,.compare-v107-main,.compare-all-stats{width:100%!important;min-width:0!important;max-width:100%!important;overflow:visible!important}.compare-v107-hero{padding:14px!important;margin-bottom:10px!important}.compare-picker-row,.compare-identity-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.compare-v107-side,.compare-team-identity{width:100%!important;min-width:0!important;max-width:100%!important;padding:12px!important;border-radius:15px!important}.compare-vs-orb{display:none!important}.compare-team-identity .club-logo,.compare-v107-side .club-logo{width:60px!important;height:60px!important;flex:0 0 60px!important}.compare-team-copy{min-width:0!important}.compare-team-copy b{font-size:15px!important}.compare-team-copy span,.compare-team-league{font-size:10px!important}.compare-team-select{width:100%!important;min-width:0!important;max-width:100%!important;height:45px!important;border-radius:13px!important}.compare-center-controls{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}.compare-data-competition,.compare-data-picker-v1421,.compare-data-picker-v1421 select{width:100%!important;max-width:100%!important;min-width:0!important}
  .compare-category-tabs,.compare-mode-tabs{position:sticky!important;top:62px!important;z-index:115!important;display:flex!important;width:calc(100% + 28px)!important;margin:0 -14px 10px!important;padding:9px 14px!important;gap:7px!important;overflow-x:auto!important;white-space:nowrap!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important;background:rgba(7,16,29,.91)!important;border-top:1px solid var(--ml130-line)!important;border-bottom:1px solid var(--ml130-line)!important;backdrop-filter:blur(14px)!important}.compare-category-tabs::-webkit-scrollbar,.compare-mode-tabs::-webkit-scrollbar{display:none}.compare-category-tabs button,.compare-mode-tabs button{scroll-snap-align:center!important;flex:0 0 auto!important;min-width:auto!important;height:38px!important;padding:0 14px!important;border-radius:12px!important;font-size:11px!important}
  .compare-prob-grid,.compare-likely-events,.compare-h2h-summary{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;min-width:0!important}.compare-prob-card,.compare-events-card,.compare-insight-card{width:100%!important;min-width:0!important;max-width:100%!important;padding:13px!important;border-radius:16px!important;overflow:hidden!important}.compare-prob-head{min-width:0!important;gap:7px!important}.compare-prob-head>*{min-width:0!important}.compare-prob-value{font-size:22px!important}.compare-prob-split{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.compare-summary-row{display:grid!important;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr)!important;gap:6px!important;min-width:0!important}.compare-summary-row>*{min-width:0!important}
  /* The statistical fill bars are contained twice: row and track. */
  .compare-rank-track,.compare-rank-track-v1430,[class*="compare-rank-track"]{position:relative!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:8px!important;border-radius:999px!important;overflow:hidden!important;contain:paint!important;background:rgba(255,255,255,.07)!important}
  .compare-rank-track>i,.compare-rank-track>span,.compare-rank-track>div,.compare-rank-track-v1430>i,.compare-rank-track-v1430>span,.compare-rank-track-v1430>div,[class*="compare-rank-fill"]{position:absolute!important;inset:0 auto 0 0!important;height:100%!important;max-width:100%!important;min-width:0!important;border-radius:inherit!important;overflow:hidden!important}
  .compare-summary-stat,.compare-threshold,.compare-prob-trend{max-width:100%!important;min-width:0!important;overflow:hidden!important}.compare-summary-stat>*{max-width:100%!important}

  /* AI */
  [class*="ai-center"],[class*="ai-chat"],[class*="ai-v"],.ai-page{min-width:0!important;max-width:100%!important}.ai-layout,[class*="ai-layout"]{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.ai-sidebar,[class*="ai-sidebar"]{position:static!important;width:100%!important}.ai-composer,[class*="composer"]{max-width:100%!important;min-width:0!important}

  /* News */
  .news-grid,[class*="news-grid"],[class*="news-layout"]{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.news-card,[class*="news-card"]{min-width:0!important;max-width:100%!important;border-radius:16px!important;overflow:hidden!important}.news-card img,[class*="news-card"] img{object-fit:cover!important}

  /* Settings/onboarding/modals */
  [class*="settings-grid"],[class*="settings-layout"],[class*="onboarding-grid"]{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;min-width:0!important}.modal,.comp116-detail-sheet,[class*="detail-sheet"],[class*="modal-card"]{width:calc(100vw - 18px)!important;max-width:calc(100vw - 18px)!important;max-height:calc(100dvh - 24px)!important;border-radius:20px!important;margin:auto!important;overflow:auto!important}.comp116-detail-columns{display:grid!important;grid-template-columns:1fr!important}.comp116-detail-table{overflow-x:auto!important}

  /* No accidental page-wide horizontal scroll. Tables/brackets own their local scrolling. */
  .content>*,.content section,.content article,.content div{min-width:0}
  .content>.table-scroll,.content [class*="table-wrap"],.content [class*="table-scroll"],.mlv77-bracket-scroll{max-width:100%!important}
}

@media (max-width:430px){
  .content{padding-left:11px!important;padding-right:11px!important}
  .topbar{padding-left:11px!important;padding-right:11px!important}.top-title h1{font-size:18px!important}.top-title p{display:none!important}
  .ml101-mobile-bar{left:7px!important;right:7px!important;bottom:calc(7px + env(safe-area-inset-bottom))!important;height:64px!important;border-radius:19px!important}.ml101-mobile-bar>a span,.ml101-mobile-bar>button span{font-size:9px!important}
  .card,.comp116-card,.competition-hero-v102,.match-v87-hero,.compare-v107-hero{border-radius:16px!important}
  .competition-identity-v102 h1,.comp116-identity h1{font-size:20px!important}.competition-identity-v102>img,.comp116-identity>img,.competition-identity-v102 .competition-logo,.comp116-identity .competition-logo,.competition-identity-v102 .ml120-comp-mark,.comp116-identity .ml120-comp-mark{width:52px!important;height:52px!important;flex-basis:52px!important}
  .home-kpi-row{grid-template-columns:1fr 1fr!important}.home-kpi{padding:11px!important}.home-kpi strong{font-size:20px!important}
  .match-v87-scoreline{grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr)!important}.match-v87-club .club-logo{width:48px!important;height:48px!important}.match-v87-score strong{font-size:24px!important}
  .compare-team-identity .club-logo,.compare-v107-side .club-logo{width:54px!important;height:54px!important;flex-basis:54px!important}.compare-prob-card,.compare-events-card,.compare-insight-card{padding:11px!important}
  .competition-participants-v102{grid-template-columns:1fr!important}
  .ml130-uefa-hero{gap:11px!important}.ml130-uefa-hero .competition-logo{width:46px!important;height:46px!important;flex-basis:46px!important}.ml130-uefa-hero h2{font-size:17px!important}.ml130-uefa-stage{padding:11px!important}.ml130-uefa-stage>header p{margin-left:0!important}.ml130-uefa-match{padding:8px!important}.ml130-uefa-team span{font-size:10.5px!important}
}

/* ===== MatchLab v1.3.1 — mobile reference redesign ===== */
@media (max-width:760px){
  :root{--ml131-purple:#8b4dff;--ml131-blue:#3d59ff;--ml131-cyan:#28a6ff;--ml131-bg:#03070d;--ml131-card:#0a111b;--ml131-line:#243044;--ml131-text:#f7f8fb;--ml131-muted:#9ca6b6}
  html,body{background:radial-gradient(circle at 70% -10%,rgba(55,82,255,.13),transparent 30%),#03070d!important;overflow-x:hidden!important;color:var(--ml131-text)!important}
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
  .app-shell{display:block!important;min-height:100dvh!important;background:transparent!important}
  .sidebar,.watermark,.topbar,.ml101-mobile-ui{display:none!important}
  .main{margin:0!important;width:100%!important;max-width:none!important;min-width:0!important;padding:0!important;background:transparent!important}
  .content{width:100%!important;max-width:none!important;padding:0 16px 28px!important;margin:0!important;overflow:visible!important}
  .content>.ml131-mobile-home{margin-left:-16px;margin-right:-16px}
  .card{border:1px solid rgba(112,133,163,.26)!important;background:linear-gradient(145deg,rgba(13,22,34,.96),rgba(5,10,17,.97))!important;box-shadow:0 16px 40px rgba(0,0,0,.22)!important;border-radius:16px!important}
  .btn,.select,.search,input,button{font-family:Inter,Geist,sans-serif}

  /* Reference-style Home */
  .ml131-mobile-home{padding:calc(13px + env(safe-area-inset-top)) 14px 20px!important;background:radial-gradient(circle at 50% 15%,rgba(25,51,112,.16),transparent 33%)}
  .ml131-mobile-head{height:58px;display:grid;grid-template-columns:minmax(132px,1fr) auto 42px;gap:10px;align-items:center;position:relative;z-index:50}
  .ml131-brand{min-width:0;display:flex;align-items:center;height:44px;overflow:hidden}
  .ml131-brand .logo{margin:0!important;padding:0!important;width:145px!important;height:38px!important;display:flex!important;align-items:center!important;overflow:visible!important}
  .ml131-brand .brand-logo-composite,.ml131-brand .brand-logo-img{max-width:145px!important;max-height:36px!important;object-fit:contain!important;object-position:left center!important}
  .ml131-comp-trigger{height:45px;min-width:130px;max-width:178px;border:1px solid #334056!important;border-radius:14px!important;background:linear-gradient(180deg,#101923,#090f17)!important;color:#fff!important;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px!important;box-shadow:0 7px 20px rgba(0,0,0,.26)!important;font-size:14px;font-weight:650;white-space:nowrap}
  .ml131-comp-trigger .competition-logo{width:27px!important;height:27px!important;min-width:27px!important;border:0!important;background:#fff!important;border-radius:7px!important;padding:3px!important;box-shadow:none!important}
  .ml131-comp-trigger .competition-logo img{width:100%!important;height:100%!important;object-fit:contain!important}
  .ml131-comp-trigger .competition-logo>span{font-size:8px!important;color:#29334a!important}
  .ml131-comp-trigger>span{overflow:hidden;text-overflow:ellipsis}
  .ml131-comp-trigger>i{font-style:normal;font-size:19px;line-height:1;color:#c7ced9;margin-left:2px}
  .ml131-bell{width:42px;height:42px;border:0!important;background:transparent!important;color:#fff!important;position:relative;padding:8px!important}
  .ml131-bell svg{width:27px;height:27px}
  .ml131-bell>i{position:absolute;width:8px;height:8px;border-radius:50%;background:#8b4dff;right:6px;top:7px;box-shadow:0 0 0 2px #03070d}
  .ml131-comp-menu{display:none;position:absolute;right:48px;top:56px;width:min(270px,calc(100vw - 42px));padding:8px;border:1px solid #29374c;border-radius:15px;background:rgba(6,12,20,.98);box-shadow:0 20px 55px rgba(0,0,0,.55);backdrop-filter:blur(20px);z-index:500}
  .ml131-comp-menu.open{display:grid;gap:4px}
  .ml131-comp-menu button{height:47px;border:0!important;background:transparent!important;color:#eaf0f9!important;border-radius:10px!important;display:flex;align-items:center;gap:10px;text-align:left;padding:7px 9px!important;font-weight:600}
  .ml131-comp-menu button.active,.ml131-comp-menu button:hover{background:#121d2b!important}
  .ml131-comp-menu .competition-logo{width:30px!important;height:30px!important;min-width:30px!important;background:#fff!important;border-radius:8px!important;padding:3px!important}
  .ml131-comp-menu .competition-logo img{object-fit:contain!important}

  .ml131-greeting{padding:20px 3px 12px}
  .ml131-greeting h1{margin:0!important;font:800 clamp(27px,7.8vw,35px)/1.08 Inter,Geist,sans-serif!important;letter-spacing:-1.2px!important;color:#f8f9fc!important}
  .ml131-greeting p{margin:5px 0 0!important;color:#9aa5b6!important;font-size:16px!important;line-height:1.25!important}

  .ml131-hero-card{position:relative;overflow:hidden;border:1px solid #35445a;border-radius:18px;padding:16px;background:radial-gradient(circle at 55% 5%,rgba(33,112,184,.22),transparent 36%),linear-gradient(155deg,#0b1421,#050910 72%);box-shadow:0 20px 52px rgba(0,0,0,.34)}
  .ml131-hero-card:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 0 48%,rgba(83,125,255,.05) 50%,transparent 52%);pointer-events:none}
  .ml131-hero-comp{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;margin-bottom:9px;color:#f1f5fb;position:relative;z-index:1}
  .ml131-hero-comp .competition-logo{width:25px!important;height:25px!important;min-width:25px!important;border:0!important;background:transparent!important;padding:0!important}
  .ml131-hero-comp .competition-logo img{object-fit:contain!important}
  .ml131-hero-teams{display:grid;grid-template-columns:1fr minmax(96px,.82fr) 1fr;gap:5px;align-items:center;position:relative;z-index:1}
  .ml131-hero-teams>div:first-child,.ml131-hero-teams>div:last-child{display:flex;min-width:0;flex-direction:column;align-items:center;gap:7px;text-align:center}
  .ml131-hero-teams .club-logo{width:86px!important;height:86px!important;min-width:86px!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .ml131-hero-teams .club-logo img{width:100%!important;height:100%!important;object-fit:contain!important}
  .ml131-hero-teams strong{font-size:16px;line-height:1.05;max-width:115px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}
  .ml131-kickoff{display:flex!important;flex-direction:column!important;gap:2px!important;color:#fff;align-items:center!important}
  .ml131-kickoff small{color:#a47cff;font-weight:700;font-size:12px}
  .ml131-kickoff b{font-size:27px;line-height:1.05;letter-spacing:-.6px}
  .ml131-kickoff span{font-size:10px;color:#aeb8c8;max-width:115px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ml131-kickoff em{width:38px;height:38px;margin-top:4px;border:1px solid rgba(134,83,255,.58);border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:800;background:radial-gradient(circle,rgba(105,66,255,.26),rgba(8,13,24,.5));box-shadow:0 0 18px rgba(113,72,255,.25)}
  .ml131-result-probs{height:43px;margin-top:13px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #3c4860;border-radius:12px;overflow:hidden;background:#111827;position:relative;z-index:1}
  .ml131-result-probs span{display:flex;align-items:center;justify-content:center;gap:9px;color:#cbd3df;font-size:14px;border-right:1px solid #364157;background:linear-gradient(180deg,#1a2131,#101722)}
  .ml131-result-probs span:last-child{border-right:0}
  .ml131-result-probs span.active{color:#fff;background:linear-gradient(110deg,#7152ff,#424cff);box-shadow:inset 0 0 20px rgba(255,255,255,.08)}
  .ml131-result-probs b{font-size:15px}
  .ml131-hero-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;position:relative;z-index:1}
  .ml131-hero-metrics>span{height:48px;border:1px solid #2d3a50;border-radius:11px;background:#080e16;display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center;padding:0 10px;font-size:16px;color:#fff;min-width:0}
  .ml131-hero-metrics small{font-size:11px;color:#b4bfce;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ml131-hero-metrics b{font-size:15px;color:#6d7bff;font-weight:700}
  .ml131-ai-cta{width:100%;height:52px;margin-top:12px;border:0!important;border-radius:12px!important;background:linear-gradient(105deg,#8c47ff,#4a42ff 48%,#2542ff)!important;color:#fff!important;font-size:16px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 11px 26px rgba(70,52,255,.3)}
  .ml131-ai-cta svg{width:22px;height:22px}.ml131-ai-cta b{position:absolute;right:30px;font-size:28px;font-weight:400}

  .ml131-section{margin-top:17px}
  .ml131-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 3px 8px}
  .ml131-section-title h2{display:flex;align-items:center;gap:7px;margin:0!important;font-size:18px!important;letter-spacing:-.35px!important;color:#f7f9fc!important}
  .ml131-section-title h2 svg{width:21px;height:21px;color:#8f54ff}.ml131-section-title a{color:#a55eff;text-decoration:none;font-size:13px;font-weight:600}
  .ml131-day-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(210px,72vw);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:2px;margin-right:-14px;padding-right:14px;scrollbar-width:none}.ml131-day-scroll::-webkit-scrollbar{display:none}
  .ml131-day-card{scroll-snap-align:start;text-decoration:none;color:#fff;border:1px solid #29364a;border-radius:14px;background:linear-gradient(145deg,#0d1622,#080e16);padding:10px;min-width:0;box-shadow:0 12px 28px rgba(0,0,0,.18)}
  .ml131-day-teams{display:grid;grid-template-columns:1fr 38px 1fr;align-items:center;gap:5px}
  .ml131-day-teams span{display:flex;align-items:center;gap:6px;min-width:0}.ml131-day-teams span:last-child{justify-content:flex-end}.ml131-day-teams em{font-style:normal;color:#a4aec0;text-align:center;font-size:12px}
  .ml131-day-teams .club-logo{width:38px!important;height:38px!important;min-width:38px!important;background:transparent!important;border:0!important}.ml131-day-teams .club-logo img{object-fit:contain!important}
  .ml131-day-teams b{font-size:12px;overflow:hidden;text-overflow:ellipsis}.ml131-day-card time{display:block;text-align:center;color:#bac4d3;font-size:13px;margin:4px 0 7px}
  .ml131-mini-probs{height:28px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #26344a;border-radius:8px;overflow:hidden}.ml131-mini-probs span{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;background:#0d1521;border-right:1px solid #26344a;color:#b9c2d1}.ml131-mini-probs span:last-child{border-right:0}.ml131-mini-probs b{color:#737cff}
  .ml131-day-empty{color:#929fb1;border:1px dashed #2c394b;border-radius:14px;padding:24px}

  .ml131-slip-card{display:grid;grid-template-columns:minmax(0,1fr) 118px;border:1px solid #29364a;border-radius:14px;overflow:hidden;background:linear-gradient(145deg,#0b131f,#070c13)}
  .ml131-slip-rows{min-width:0}.ml131-slip-rows>div{min-height:42px;display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,.7fr) 48px;gap:7px;align-items:center;padding:6px 10px;border-bottom:1px solid #202c3d;font-size:12px}.ml131-slip-rows>div:last-child{border-bottom:0}.ml131-slip-rows span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml131-slip-rows b{font-weight:500;color:#e8edf5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ml131-slip-rows strong{color:#777cff;text-align:right}
  .ml131-slip-empty{padding:20px 12px;display:flex;flex-direction:column;justify-content:center}.ml131-slip-empty b{font-size:14px}.ml131-slip-empty span{font-size:11px;color:#98a4b5;margin-top:3px}
  .ml131-slip-side{border-left:1px solid #26344a;padding:12px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.ml131-slip-side small{color:#9da8b8;font-size:10px}.ml131-slip-side>strong{font-size:24px;color:#a978ff;text-shadow:0 0 15px rgba(149,102,255,.38);margin:2px 0 8px}.ml131-slip-side button{width:100%;height:38px;border:0!important;border-radius:8px!important;background:linear-gradient(105deg,#8050ff,#394cff)!important;color:#fff!important;font-weight:650;font-size:12px}

  .ml131-radar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ml131-radar>div{min-height:104px;border:1px solid #29364a;border-radius:14px;background:linear-gradient(145deg,#0c1521,#080d15);padding:10px;display:grid;grid-template-columns:32px 1fr;grid-template-rows:auto auto auto;column-gap:7px;align-items:center}.ml131-radar i{grid-row:1/4;font-style:normal;font-size:27px;color:#6e70ff}.ml131-radar>div:nth-child(2) i{color:#9b57ff}.ml131-radar>div:nth-child(3) i{color:#32d5a0}.ml131-radar span{font-size:11px;color:#aeb8c7}.ml131-radar b{font-size:22px;line-height:1;color:#6673ff}.ml131-radar>div:nth-child(2) b{color:#31c5b1}.ml131-radar>div:nth-child(3) b{color:#42d29a}.ml131-radar small{font-size:9px;color:#929dad}
  .ml131-insight{min-height:82px;border:1px solid #29364a;border-radius:14px;background:linear-gradient(145deg,#0b141f,#080d15);display:grid;grid-template-columns:55px minmax(0,1fr) 20px;gap:10px;align-items:center;padding:10px 12px;text-decoration:none;color:#e9eef7}.ml131-ai-chip{width:48px;height:48px;border:2px solid #8451ff;border-radius:11px;display:grid;place-items:center;color:#a66bff;font-weight:800;font-size:16px;box-shadow:inset 0 0 16px rgba(132,81,255,.15)}.ml131-insight p{margin:0!important;font-size:12px;line-height:1.35;color:#bdc6d4}.ml131-insight p b{color:#a86cff}.ml131-insight em{font-style:normal;font-size:26px;color:#8d98a8}
  .ml131-news-card{min-height:82px;border:1px solid #29364a;border-radius:14px;background:#0a111b;display:grid;grid-template-columns:112px minmax(0,1fr);overflow:hidden;text-decoration:none;color:#fff}.ml131-news-card img{width:112px;height:100%;object-fit:cover}.ml131-news-card>div{padding:9px 11px;min-width:0;display:flex;flex-direction:column;justify-content:center}.ml131-news-card small{font-size:10px;color:#925cff;font-weight:800}.ml131-news-card b{font-size:12px;line-height:1.25;margin:3px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ml131-news-card span{font-size:9px;color:#8f9aaa}.ml131-news-card.empty{grid-template-columns:1fr}

  /* Exact five-item bottom bar with prominent AI centre button */
  .ml131-bottom-nav{position:fixed;z-index:2147482000;left:0;right:0;bottom:0;height:calc(73px + env(safe-area-inset-bottom));padding:7px 14px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);align-items:end;background:linear-gradient(180deg,rgba(14,22,33,.92),rgba(7,12,19,.99));border-top:1px solid rgba(75,91,117,.34);box-shadow:0 -12px 32px rgba(0,0,0,.42);backdrop-filter:blur(22px)}
  .ml131-bottom-nav a{height:57px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:#8e99a9;font-size:10px;font-weight:650;position:relative;min-width:0}.ml131-bottom-nav a i{width:27px;height:27px;display:grid;place-items:center;font-style:normal}.ml131-bottom-nav a svg{width:25px;height:25px}.ml131-bottom-nav a.active{color:#8d65ff}.ml131-bottom-nav a.active:not(.center):after{content:"";position:absolute;top:0;width:24px;height:2px;border-radius:4px;background:#8e60ff;box-shadow:0 0 10px #8655ff}
  .ml131-bottom-nav .center{height:71px;margin-bottom:3px}.ml131-bottom-nav .center i{width:62px;height:62px;border-radius:50%;margin-top:-30px;background:radial-gradient(circle at 50% 45%,#5432a5,#161028 64%);border:2px solid #8454ff;box-shadow:0 0 0 5px rgba(91,55,173,.19),0 0 24px rgba(130,73,255,.58);color:#fff}.ml131-bottom-nav .center svg{width:31px;height:31px}.ml131-bottom-nav .center span{margin-top:-1px}.ml131-bottom-nav .center.active i{background:radial-gradient(circle at 50% 40%,#8251ff,#201338 70%)}

  /* Compare: mobile-first selectors + full-screen team chooser. */
  .route-compare .content{padding:18px 12px 26px!important}.route-compare .comparison-head,.route-compare .compare-v107-head{display:grid!important;grid-template-columns:1fr 40px 1fr!important;gap:8px!important;align-items:center!important}.route-compare .comparison-head .comp-picker,.route-compare .compare-v107-head .comp-picker{grid-column:1/-1!important}.route-compare .team-picker,.route-compare .team-picker-button{width:100%!important;min-width:0!important;padding:11px 9px!important;border-radius:14px!important}.route-compare .team-picker-main{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:6px!important}.route-compare .team-picker-main>.club-logo{width:62px!important;height:62px!important;min-width:62px!important}.route-compare .team-picker-main>div{min-width:0!important}.route-compare .team-picker-main b{display:block;max-width:100%;font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-compare .team-picker-main .small{font-size:9px!important}.route-compare .picker-chevron{display:none!important}.route-compare .versus{font-size:11px!important}
  .route-compare .team-dropdown{position:fixed!important;z-index:2147483000!important;inset:auto 8px calc(80px + env(safe-area-inset-bottom)) 8px!important;width:auto!important;max-width:none!important;max-height:min(74dvh,680px)!important;border-radius:20px!important;background:rgba(5,10,17,.99)!important;border:1px solid #314159!important;box-shadow:0 24px 70px rgba(0,0,0,.72)!important;overflow:hidden!important;padding:0!important;backdrop-filter:blur(22px)!important}
  .route-compare .team-search-wrap{position:sticky!important;top:0!important;z-index:5!important;height:60px!important;background:#0b131e!important;border-bottom:1px solid #263449!important;padding:9px!important}.route-compare .team-search-wrap input{height:41px!important;background:#111b28!important;border:1px solid #2e3e55!important;border-radius:11px!important;font-size:14px!important;padding-left:34px!important}.route-compare .team-dropdown-meta{padding:9px 13px!important;background:#070d15!important;font-size:10px!important}.route-compare .team-dropdown-list{max-height:calc(min(74dvh,680px) - 105px)!important;overflow-y:auto!important;padding:0 8px 16px!important}.route-compare .league-group{margin:9px 0!important;border:1px solid #202d3f!important;border-radius:13px!important;overflow:hidden!important;background:#09111b!important}.route-compare .league-heading{position:sticky!important;top:0!important;z-index:3!important;min-height:45px!important;padding:7px 10px!important;background:#0e1824!important;border-bottom:1px solid #223047!important;display:grid!important;grid-template-columns:31px 1fr auto!important;gap:8px!important;align-items:center!important}.route-compare .league-heading img,.route-compare .league-heading .competition-logo{width:29px!important;height:29px!important;object-fit:contain!important;background:#fff!important;border-radius:7px!important;padding:2px!important}.route-compare .league-heading span{font-size:12px!important;font-weight:750!important}.route-compare .league-heading small{font-size:9px!important;color:#8794a7!important}.route-compare .team-option{min-height:51px!important;padding:7px 10px!important;gap:10px!important;border-bottom:1px solid #1c2838!important;background:transparent!important}.route-compare .team-option:last-child{border-bottom:0!important}.route-compare .team-option .club-logo{width:36px!important;height:36px!important;min-width:36px!important}.route-compare .team-option b{font-size:13px!important}.route-compare .team-option small{font-size:9px!important}.route-compare .metric,.route-compare [class*="metric"]{min-width:0!important;max-width:100%!important;overflow:hidden!important}.route-compare .bars,.route-compare [class*="bar-track"]{width:100%!important;max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important}.route-compare .bars i,.route-compare [class*="bar-fill"]{max-width:100%!important;box-sizing:border-box!important}

  /* Competition pages and all logos stay contained on mobile. */
  .competition-logo,.ml130-competition-logo{overflow:hidden!important;display:inline-grid!important;place-items:center!important}.competition-logo img,.ml130-competition-logo img{width:100%!important;height:100%!important;object-fit:contain!important}.competition-hero-v102 .competition-identity-v102>img{width:70px!important;height:70px!important;object-fit:contain!important}.ml130-uefa-hero .competition-logo{width:66px!important;height:66px!important;min-width:66px!important}
}
@media (max-width:390px){
  .ml131-mobile-home{padding-left:10px!important;padding-right:10px!important}.ml131-mobile-head{grid-template-columns:minmax(112px,1fr) auto 37px;gap:6px}.ml131-brand .logo{width:125px!important}.ml131-brand .brand-logo-composite,.ml131-brand .brand-logo-img{max-width:125px!important}.ml131-comp-trigger{min-width:112px;max-width:145px;height:42px;padding:0 8px!important;font-size:12px}.ml131-comp-trigger .competition-logo{width:24px!important;height:24px!important;min-width:24px!important}.ml131-bell{width:37px}.ml131-hero-card{padding:12px}.ml131-hero-teams{grid-template-columns:1fr 82px 1fr}.ml131-hero-teams .club-logo{width:72px!important;height:72px!important;min-width:72px!important}.ml131-hero-teams strong{font-size:13px}.ml131-kickoff b{font-size:23px}.ml131-hero-metrics{gap:5px}.ml131-hero-metrics>span{padding:0 6px;gap:4px}.ml131-hero-metrics small{font-size:9px}.ml131-radar{gap:5px}.ml131-radar>div{padding:7px;grid-template-columns:26px 1fr}.ml131-radar i{font-size:22px}.ml131-radar b{font-size:18px}.ml131-slip-card{grid-template-columns:minmax(0,1fr) 100px}.ml131-slip-rows>div{grid-template-columns:minmax(0,1fr) 44px}.ml131-slip-rows b{display:none}.ml131-bottom-nav{padding-left:8px;padding-right:8px}
}


/* MatchLab v1.3.2 — visible home news + exact mobile selector polish */
@media (max-width:760px){
  .ml131-mobile-home .ml131-news{display:block!important;visibility:visible!important;opacity:1!important;margin-bottom:14px!important;min-height:110px!important;overflow:visible!important}
  .ml132-news-list{display:grid!important;gap:8px!important;width:100%!important;min-width:0!important}
  .ml132-news-card{min-height:84px;border:1px solid #29364a;border-radius:14px;background:#0a111b;display:grid;grid-template-columns:112px minmax(0,1fr);overflow:hidden;text-decoration:none;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.12)}
  .ml132-news-card img{width:112px;height:100%;min-height:84px;object-fit:cover;display:block}
  .ml132-news-card>div{padding:9px 11px;min-width:0;display:flex;flex-direction:column;justify-content:center}
  .ml132-news-card small{font-size:10px;color:#925cff;font-weight:800}.ml132-news-card b{font-size:12px;line-height:1.25;margin:3px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ml132-news-card span{font-size:9px;color:#8f9aaa}.ml132-news-card.empty{grid-template-columns:1fr}
  .route-compare .team-dropdown-meta{display:flex!important;justify-content:space-between!important;gap:8px!important}.route-compare .team-dropdown-meta span:last-child{color:#9f72ff!important;font-weight:800!important}
  .route-compare .ml1414-league-heading small{min-width:64px;text-align:right}
  .ml132-competition-logo{overflow:hidden!important;display:inline-grid!important;place-items:center!important}.ml132-competition-logo img{width:100%!important;height:100%!important;object-fit:contain!important}
}
