/* Compact matchday navigation and fixtures for phones. */
.mobile-only,.mobile-top-live,.mobile-date-strip{display:none!important}
@media(max-width:620px){
  :root{--p90-safe-top:var(--safe-area-inset-top,env(safe-area-inset-top,0px));--p90-safe-bottom:var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px));--p90-mobile-header-height:calc(70px + var(--p90-safe-top));background:#f0f2f3;scroll-padding-top:calc(180px + var(--p90-safe-top))}
  body{background:#f0f2f3;padding-bottom:calc(76px + var(--p90-safe-bottom))}
  body>header{position:sticky;top:0;z-index:35;height:var(--p90-mobile-header-height);box-sizing:border-box;padding:var(--p90-safe-top) 14px 0;border:0;background:#fff;gap:12px}
  .brand-mark{flex-basis:123px;width:123px;height:29px;border-radius:0;box-shadow:none;background:transparent}
  .brand-logo{top:-46px;width:123px!important;height:123px!important}
  .top-actions{gap:8px;flex:0 0 auto}
  .top-actions .top-icon{width:36px;height:44px;padding:6px}
  .top-actions .top-icon svg{width:22px;height:22px}
  #topTv,#topTheme{display:none}
  .mobile-only{display:flex!important}
  .mobile-top-live{display:flex!important;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:0 10px;border:0;border-radius:24px;background:#f0f2f3;color:#39434b;font-size:12px;font-weight:750}
  .mobile-top-live .grey-dot{width:7px;height:7px;margin:0;background:#99a2a7}
  .mobile-top-live.active{background:#e0f3ef;color:#007d70}
  .mobile-top-live.active .grey-dot{background:#079961}
  .home-layout{display:block;width:100%;margin:0;padding:0}
  .home-layout .home-main{width:100%;padding:0;margin:0;background:transparent}
  .home-main .date-card{position:sticky;top:var(--p90-mobile-header-height);z-index:25;overflow:visible;border:0;border-bottom:1px solid #e4e9ec;border-radius:0;background:#fff;box-shadow:0 4px 12px #19384a05}
  .home-main .date-row{display:none}
  .mobile-date-strip{display:flex!important;align-items:stretch;gap:4px;width:100%;height:54px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;padding:0 8px}
  .mobile-date-strip::-webkit-scrollbar{display:none}
  .mobile-date-strip button{position:relative;flex:0 0 auto;min-width:76px;padding:0 13px;border:0;background:transparent;color:#5f6d77;font-size:14px;font-weight:650;white-space:nowrap;scroll-snap-align:center}
  .mobile-date-strip button[aria-current="date"]{color:#0c7775;font-weight:800}
  .mobile-date-strip button[aria-current="date"]:after{position:absolute;bottom:0;left:12px;right:12px;height:3px;border-radius:4px 4px 0 0;background:#008b84;content:""}
  .home-main .filter-row{grid-template-columns:1fr 1fr 36px;gap:9px;height:52px;padding:7px 14px;border-top:1px solid #f1f3f4}
  .filter-row #live{display:none}
  .filter-row button{min-height:34px;height:34px;border-color:#e2e7ea;border-radius:18px;background:#fff;color:#4f5f69;font-size:12px;font-weight:650}
  .filter-row button.active{border-color:#008b84;background:#e4f5f1;color:#00756f}
  .filter-row .sort{width:34px;height:34px;min-height:34px;font-size:13px;line-height:8px}
  .home-main #matchLeagues{min-height:220px;padding:2px 10px 18px}
  .home-main .league{margin:12px 0 0;border:1px solid #e6eaed;border-radius:18px;background:#fff;box-shadow:none}
  .home-main .league-head{height:auto;min-height:54px;padding:14px 13px;gap:10px;background:#f7f8f9;color:#17242b;font-size:14px;font-weight:750;line-height:1.3}
  .league-head .country-flag{width:19px;height:14px;flex:0 0 19px;object-fit:cover;border:0;border-radius:2px}
  .league-head>span:not(.country):not(.chev){flex:1;min-width:0}
  .league-head .country{flex:0 0 19px;width:19px}
  .league-head .chev{font-size:17px;color:#78858e}
  .home-main .fixture{height:auto;min-height:77px;padding:13px 9px;grid-template-columns:28px minmax(0,1fr) 13px;gap:2px;border-color:#f0f2f4}
  .home-main .match-center{width:100%;max-width:none;gap:5px;grid-template-columns:minmax(0,1fr) 24px 46px 24px minmax(0,1fr);font-size:13px;line-height:1.35}
  .home-main .team{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:break-word;text-overflow:clip;font-weight:400}
  .home-main .crest{width:24px;height:26px;object-fit:contain}
  .home-main .result{font-size:14px;font-weight:750;font-variant-numeric:tabular-nums;color:#14262d}
  .home-main .result.time{color:#61717b;font-size:13px;font-weight:650}
  .home-main .fixture .state{max-width:28px;min-width:0;padding:3px 4px;font-size:10px;line-height:1.2;text-align:center;color:#64737c;background:#eef1f3}
  .home-main .fixture .state:empty{visibility:hidden}
  .home-main .fixture .state.live{background:#00845c;color:#fff}
  .home-main .tv-mark{font-size:8px;color:#6b7d88}
  .home-main .tv-mark.on{background:#e3e9ec;color:#536673}
  .home-main .fixture:hover{background:#f5faf9}
  .bottom-nav{height:calc(70px + var(--p90-safe-bottom));grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;padding:6px 4px calc(6px + var(--p90-safe-bottom));border-top:1px solid #e8edef;background:#fff;box-shadow:0 -3px 16px #18343d08;z-index:45}
  .bottom-nav .desktop-live-nav{display:none}
  .bottom-nav>button,.bottom-nav .mobile-more-wrap>button,.bottom-nav .mobile-nav-link{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:100%;height:56px;padding:5px 1px;border:0;border-radius:10px;background:transparent;color:#5f6d77;font:600 10px/1.2 Arial,Helvetica,sans-serif;text-decoration:none}
  .bottom-nav>button.active,.bottom-nav .mobile-nav-link.active,.bottom-nav .mobile-more-wrap>button[aria-expanded="true"]{background:#eaf6f3;color:#006f6b}
  .bottom-nav .ui-icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .bottom-nav .mobile-more-wrap{min-width:0}
  .bottom-nav .mobile-more-panel{right:5px;bottom:calc(100% + 12px);width:min(400px,calc(100vw - 20px));border-radius:18px}
  .home-layout .home-news{width:calc(100% - 20px);margin:0 10px 18px;border-radius:18px}
  body.preview-dark{background:#111416}
  body.preview-dark>header,body.preview-dark .home-main .date-card{background:#191d20;border-color:#31383d}
  body.preview-dark .home-main{background:transparent}
  body.preview-dark .mobile-date-strip button{color:#a8b4bc}
  body.preview-dark .mobile-date-strip button[aria-current="date"]{color:#7de4d6}
  body.preview-dark .mobile-date-strip button[aria-current="date"]:after{background:#52d6bf}
  body.preview-dark .mobile-top-live{background:#30373c;color:#e1e7ec}
  body.preview-dark .mobile-top-live.active{background:#144d42;color:#9af1d8}
  body.preview-dark .mobile-top-live.active .grey-dot{background:#54dfab}
  body.preview-dark .home-main .filter-row{border-color:#30373c}
  body.preview-dark .filter-row button{background:#23292e;border-color:#424c54;color:#dce5ea}
  body.preview-dark .filter-row button.active{background:#164e46;border-color:#61d8c5;color:#b8f6e8}
  body.preview-dark .home-main .league{background:#202529;border-color:#32393f}
  body.preview-dark .home-main .league-head{background:#292f34;color:#f1f5f7}
  body.preview-dark .home-main .fixture{border-color:#30383e}
  body.preview-dark .home-main .fixture:hover{background:#293139}
  body.preview-dark .home-main .result{color:#f5f8fa}
  body.preview-dark .home-main .result.time{color:#b4c1cb}
  body.preview-dark .home-main .fixture .state{background:#39444c;color:#e4edf2}
  body.preview-dark .home-main .fixture .state.live{background:#07845e;color:#fff}
  body.preview-dark .home-main .tv-mark.on{background:#3a4852;color:#e5f0f7}
  body.preview-dark .bottom-nav{background:#191d20;border-color:#343c43}
  body.preview-dark .bottom-nav>button,body.preview-dark .bottom-nav .mobile-nav-link,body.preview-dark .bottom-nav .mobile-more-wrap>button{color:#aebbc5}
  body.preview-dark .bottom-nav>button.active,body.preview-dark .bottom-nav .mobile-more-wrap>button[aria-expanded="true"]{background:#16453f;color:#9bf0de}
  body.preview-dark .bottom-nav .follow-alerts button{color:#fff}
}
@media(max-width:370px){
  body>header{padding:var(--p90-safe-top) 10px 0;gap:6px}.top-actions{gap:4px}.brand-mark{flex-basis:109px;width:109px;height:26px}.brand-logo{top:-41px;width:109px!important;height:109px!important}
  .mobile-top-live{padding:0 8px;font-size:11px}.top-actions .top-icon{width:36px}
  .home-main .match-center{gap:4px;grid-template-columns:minmax(0,1fr) 21px 41px 21px minmax(0,1fr);font-size:12px}.home-main .crest{width:21px;height:24px}
  .home-main .league-head{font-size:13px}
}
