/* AFM MOBILE-FIRST OVERRIDE v1
   Priority: 320–600px. Desktop styles must never win here. */
@media (max-width:600px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  body{background:#04111c!important}
  *{min-width:0}
  .app,.dashboard-layout,.dashboard-main,.home,.shell{width:100%!important;max-width:100%!important;margin-left:0!important}

  /* Header */
  .dashboard-main .topbar,.topbar{
    position:sticky!important;top:0!important;left:0!important;right:0!important;
    width:100%!important;height:62px!important;
    padding:0 10px!important;gap:8px!important;
    background:rgba(3,15,25,.98)!important;
    border-bottom:1px solid rgba(151,177,197,.18)!important;
  }
  .mobile-menu-btn{
    display:flex!important;width:38px!important;height:38px!important;flex:0 0 38px!important;
    align-items:center!important;justify-content:center!important;
    border-radius:8px!important;font-size:20px!important;
  }
  .brand-row{display:flex!important;align-items:center!important;gap:0!important;flex:0 0 auto!important;overflow:visible}
  .brand-logo{width:40px!important;height:40px!important;flex:0 0 40px!important}
  .brand-row>div{display:none!important}
  .brand-row strong{
    display:block!important;font-family:Arial,sans-serif!important;
    font-size:13px!important;line-height:1.05!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  .brand-row small{display:none!important}
  .top-actions{display:flex!important;gap:5px!important;flex:0 0 auto!important}
  .icon-btn,.avatar{width:34px!important;height:34px!important;flex:0 0 34px!important;font-size:14px!important}

  /* Drawer: fully hidden until opened */
  .side-nav{
    display:flex!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;
    width:min(82vw,286px)!important;height:100dvh!important;
    margin:0!important;padding:14px 0 20px!important;
    transform:translateX(-105%)!important;
    transition:transform .2s ease!important;
    z-index:100!important;background:#051724!important;
    border-right:1px solid rgba(151,177,197,.18)!important;
    box-shadow:18px 0 45px rgba(0,0,0,.42)!important;
    flex-direction:column!important;
  }
  .side-nav.mobile-open{transform:translateX(0)!important}
  .side-brand{display:flex!important;padding:0 16px 14px!important;margin-bottom:8px!important;justify-content:flex-start!important}
  .side-brand img{width:46px!important;height:46px!important}
  .side-brand div{display:block!important}
  .side-brand strong{font-size:18px!important}
  .side-nav nav{display:flex!important;width:100%!important;flex-direction:column!important}
  .side-nav a,.side-nav a:nth-child(n+6){
    display:flex!important;width:100%!important;min-height:46px!important;
    padding:0 17px!important;justify-content:flex-start!important;
    font-size:14px!important;border-top:0!important;
  }
  .side-nav a span{display:inline!important}
  .side-nav>small{display:block!important;margin:auto 18px 0!important;font-size:8px!important}
  body.menu-open:after{content:"";position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:90}

  /* Home content */
  .dashboard-main .home{padding:0 12px 28px!important}

  /* Hero: image on top, copy below. No overlay cropping. */
  .dashboard-main .welcome.hero-static,.welcome.hero-static{
    display:block!important;position:relative!important;
    width:100%!important;min-height:0!important;height:auto!important;
    margin:0 0 18px!important;padding:0!important;
    background:none!important;border:1px solid rgba(151,177,197,.18)!important;
    border-radius:0 0 10px 10px!important;overflow:hidden!important;
  }
  .welcome.hero-static:before{
    content:""!important;display:block!important;position:relative!important;inset:auto!important;
    width:100%!important;height:auto!important;aspect-ratio:16/9!important;
    background:
      linear-gradient(180deg,rgba(2,12,21,.04),rgba(2,12,21,.18)),
      url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1200&q=88") center center/contain no-repeat,
      #071522!important;
    transform:none!important;animation:none!important;z-index:0!important;
  }
  .hero-video-shade,.hero-atmosphere,.hero-side{display:none!important}
  .hero-copy{
    position:relative!important;z-index:2!important;
    width:100%!important;max-width:100%!important;
    padding:17px 16px 19px!important;
    background:linear-gradient(180deg,#081b2b,#061522)!important;
  }
  .hero-copy .eyebrow{font-size:9px!important;letter-spacing:.12em!important}
  .hero-copy h1{
    width:100%!important;max-width:100%!important;
    margin:7px 0 7px!important;
    font-family:Georgia,serif!important;
    font-size:clamp(26px,8vw,31px)!important;line-height:1.04!important;
    letter-spacing:-.02em!important;
    white-space:normal!important;overflow:visible!important;
    overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
  }
  .hero-copy h1 em{display:inline!important}
  .hero-tagline{
    width:100%!important;max-width:100%!important;margin:0!important;
    font-size:13px!important;line-height:1.4!important;
    white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;
  }
  .hero-signature{
    width:100%!important;max-width:100%!important;
    margin-top:13px!important;padding-top:9px!important;
    font-size:8px!important;line-height:1.4!important;letter-spacing:.05em!important;
    white-space:normal!important;
  }

  /* Sections */
  .section-head{display:flex!important;align-items:end!important;gap:8px!important;margin:16px 0 9px!important;padding-bottom:9px!important}
  .section-head h2{font-size:20px!important;line-height:1.08!important;margin:3px 0 0!important}
  .section-head .muted{font-size:8px!important;white-space:nowrap!important}
  .kicker,.eyebrow{font-size:8px!important;letter-spacing:.13em!important}

  .nation-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .nation-card{
    width:100%!important;min-height:122px!important;height:auto!important;
    padding:11px 12px!important;border-radius:9px!important;
    background-size:cover!important;background-position:center!important;
  }
  .nation-card h3{font-size:16px!important;line-height:1.05!important;margin:12px 0 7px!important}
  .nation-top .flag{font-size:24px!important}
  .arrow{width:27px!important;height:27px!important}
  .leagues{gap:5px!important}.leagues span{font-size:9px!important;padding:4px 7px!important}

  .my-club-section{margin-top:17px!important}
  .my-clubs-grid{grid-template-columns:1fr!important;gap:8px!important}
  .my-club-card{min-height:0!important;padding:12px!important}

  .dashboard-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:15px!important}
  .panel{width:100%!important;padding:12px!important;border-radius:9px!important}
  .panel-head{align-items:center!important}.panel-head h3{font-size:14px!important;line-height:1.15!important}
  .badge{font-size:8px!important;padding:5px 7px!important}
  .empty{min-height:100px!important;padding:14px!important}
  .empty>span{font-size:22px!important}.empty strong{font-size:12px!important}.empty p{font-size:10px!important;line-height:1.4!important}

  /* Nation + competition + club pages */
  .shell{padding:12px 10px 28px!important}
  .back-link{margin:0 0 11px!important;font-size:11px!important}
  .country-hero,.competition-hero,.nation-dashboard-hero,.club-hero,.subpage-head{
    width:100%!important;min-height:0!important;padding:14px!important;margin-bottom:10px!important;
    border-radius:9px!important;overflow:hidden!important;
  }
  .country-flag{font-size:32px!important}
  .country-hero h1,.competition-hero h1,.nation-hero-content h1,.club-identity h1,.subpage-head h1{
    font-size:23px!important;line-height:1.06!important;margin:3px 0 5px!important;
    overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
  }
  .country-hero p,.competition-hero p,.nation-hero-content p,.club-identity p,.subpage-head p{
    font-size:10px!important;line-height:1.4!important;
  }
  .nation-watermark-logo,.afm-page-watermark{opacity:.035!important;max-width:38vw!important}

  .competition-grid,.nation-competition-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .competition-card,.nation-division-card{min-height:110px!important;padding:12px!important}
  .competition-card h2,.nation-division-card h2{font-size:17px!important;line-height:1.08!important;margin:7px 0 10px!important}
  .competition-card .go,.nation-division-card .go{font-size:10px!important}

  .tabs{display:flex!important;gap:4px!important;width:100%!important;overflow-x:auto!important;padding:0 0 9px!important}
  .tabs button{font-size:9px!important;padding:8px 9px!important;flex:0 0 auto!important}
  .competition-body{min-height:180px!important}

  .club-metrics,.roster-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .club-metrics article,.roster-summary>div{padding:9px!important}
  .club-metrics strong,.roster-summary strong{font-size:13px!important}
  .club-links{grid-template-columns:1fr 1fr!important;gap:7px!important}
  .club-links a{min-height:92px!important;padding:10px!important}
  .club-links strong{font-size:11px!important}.club-links small{font-size:8px!important}
  .stadium-levels{grid-template-columns:1fr 1fr!important}
}
@media(max-width:360px){
  .brand-row strong{font-size:12px!important}
  .hero-copy h1{font-size:25px!important}
  .hero-tagline{font-size:12px!important}
  .club-metrics,.roster-summary{grid-template-columns:1fr!important}
  .club-links{grid-template-columns:1fr!important}
}
/* Nation page mobile refinement — priority mobile */
@media(max-width:600px){
 .nation-dashboard{padding:10px 12px 28px!important}
 .nation-dashboard .back-link{margin:2px 0 10px!important;font-size:11px!important}
 .nation-dashboard-hero{
   min-height:0!important;height:196px!important;
   padding:0!important;margin-bottom:14px!important;
   border-radius:12px!important;background-position:center 52%!important;
 }
 .nation-dashboard-hero:after{
   content:"";position:absolute;inset:0;z-index:0;
   background:linear-gradient(90deg,rgba(2,12,20,.86) 0%,rgba(2,12,20,.55) 60%,rgba(2,12,20,.32) 100%)!important;
 }
 .nation-dashboard-hero .nation-watermark-logo{display:none!important}
 .nation-hero-content{
   position:absolute!important;z-index:2!important;left:15px!important;right:15px!important;bottom:15px!important;
   display:grid!important;grid-template-columns:38px 1fr!important;align-items:end!important;gap:9px!important;
   width:auto!important;max-width:none!important;
 }
 .nation-hero-content .country-flag{font-size:30px!important;line-height:1!important;margin:0 0 5px!important}
 .nation-hero-content .eyebrow{font-size:8px!important;letter-spacing:.14em!important}
 .nation-hero-content h1{font-size:28px!important;line-height:1!important;margin:3px 0 5px!important}
 .nation-hero-content p{
   max-width:260px!important;margin:0!important;
   font-size:10px!important;line-height:1.32!important;color:#d4dde5!important;
 }
 .nation-dashboard .section-head{
   margin:14px 0 8px!important;padding-bottom:7px!important;
   border-bottom:1px solid rgba(215,170,69,.28)!important;
 }
 .nation-dashboard .section-head h2{font-size:20px!important}
 .nation-dashboard .section-head .muted{font-size:8px!important}
 .nation-competition-grid{gap:7px!important}
 .nation-division-card{
   min-height:0!important;height:auto!important;padding:11px 12px!important;border-radius:9px!important;
 }
 .nation-division-card .division-top{margin-bottom:7px!important}
 .nation-division-card .tier{font-size:8px!important;letter-spacing:.12em!important}
 .nation-division-card .division-clubs{font-size:8px!important;padding:4px 7px!important}
 .nation-division-card h2{font-size:18px!important;line-height:1.05!important;margin:0 0 8px!important}
 .nation-division-card .division-meta{display:flex!important;gap:10px!important;margin:0 0 8px!important}
 .nation-division-card .division-meta span{font-size:8px!important}
 .nation-division-card .go{font-size:9px!important}
 .nation-overview-grid{grid-template-columns:1fr!important;gap:8px!important;margin-top:14px!important}
 .nation-honours{margin-top:8px!important}
}
@media(max-width:360px){
 .nation-dashboard-hero{height:184px!important}
 .nation-hero-content{grid-template-columns:34px 1fr!important;left:12px!important;right:12px!important;bottom:12px!important}
 .nation-hero-content .country-flag{font-size:27px!important}
 .nation-hero-content h1{font-size:25px!important}
 .nation-hero-content p{font-size:9px!important;max-width:230px!important}
 .nation-division-card h2{font-size:17px!important}
}
/* AFM institutional mobile identity v2 */
@media(max-width:600px){
  /* The real crest is intentional; generic watermarks are not */
  .afm-page-watermark{display:block!important;position:fixed!important;right:-8vw!important;bottom:10vh!important;width:48vw!important;max-width:220px!important;opacity:.028!important;filter:grayscale(1)!important;pointer-events:none!important;z-index:0!important}
  .home-hero-brand{display:grid!important;grid-template-columns:70px 1fr!important;gap:12px!important;align-items:center!important}
  .home-hero-brand img{
    display:block!important;width:70px!important;height:70px!important;object-fit:contain!important;
    filter:drop-shadow(0 5px 12px rgba(0,0,0,.28))!important
  }
  .home-hero-brand h1{font-size:clamp(24px,7.5vw,29px)!important;margin:5px 0 5px!important}
  .home-hero-brand .hero-tagline{font-size:12px!important;line-height:1.32!important}
  .home-hero-brand .eyebrow{font-size:7px!important;letter-spacing:.1em!important}
  .hero-signature{margin-left:82px!important;width:calc(100% - 82px)!important}

  .afm-section-strip{
    width:100%!important;height:52px!important;margin:0 0 10px!important;padding:6px 9px!important;
    display:flex!important;align-items:center!important;gap:8px!important;
    border:1px solid rgba(151,177,197,.16)!important;border-radius:9px!important;
    background:linear-gradient(90deg,#071b2a,#091f31)!important;
  }
  .afm-section-strip img{width:38px!important;height:38px!important;object-fit:contain!important;flex:0 0 38px!important}
  .afm-section-strip div{display:flex!important;align-items:baseline!important;gap:5px!important;flex:1!important}
  .afm-section-strip strong{font-size:13px!important;letter-spacing:.04em!important}
  .afm-section-strip span{font-size:9px!important;color:#91a4b5!important}
  .afm-section-strip em{
    font-style:normal!important;font-size:8px!important;letter-spacing:.08em!important;
    color:#d7aa45!important;border-left:1px solid rgba(215,170,69,.25)!important;padding-left:8px!important;
  }

  /* Nation identity: crest remains visible, but small and intentional */
  .nation-dashboard-hero .nation-watermark-logo{
    display:block!important;right:10px!important;top:10px!important;transform:none!important;
    width:52px!important;height:52px!important;opacity:.16!important;filter:none!important;z-index:2!important;
  }
}
@media(max-width:360px){
  .home-hero-brand{grid-template-columns:58px 1fr!important;gap:9px!important}
  .home-hero-brand img{width:58px!important;height:58px!important}
  .home-hero-brand h1{font-size:23px!important}
  .hero-signature{margin-left:67px!important;width:calc(100% - 67px)!important}
  .afm-section-strip{height:48px!important}
  .afm-section-strip img{width:34px!important;height:34px!important;flex-basis:34px!important}
}
/* Home v3 — tactical manager identity, mobile first */
@media(max-width:600px){
 .home .tactical-hero{
   position:relative!important;display:flex!important;min-height:238px!important;height:238px!important;
   padding:18px 16px 14px!important;overflow:hidden!important;
   background:linear-gradient(145deg,#061b2b 0%,#03111d 70%,#020b12 100%)!important;
   border:1px solid rgba(215,170,69,.28)!important;border-radius:12px!important;
 }
 .home .tactical-hero:before{display:none!important}
 .tactical-board{display:block!important;position:absolute!important;inset:10px!important;opacity:.38!important;transform:rotate(-4deg) scale(1.04)!important;z-index:0!important}
 .tactical-board span,.tactical-board i,.tactical-board b{position:absolute!important;display:block!important;box-sizing:border-box!important}
 .pitch-outline{inset:8px!important;border:1px solid rgba(215,226,235,.38)!important;border-radius:2px!important}
 .mid-line{left:50%!important;top:8px!important;bottom:8px!important;border-left:1px solid rgba(215,226,235,.3)!important}
 .centre-circle{width:64px!important;height:64px!important;border:1px solid rgba(215,226,235,.34)!important;border-radius:50%!important;left:calc(50% - 32px)!important;top:calc(50% - 32px)!important}
 .box{width:64px!important;height:92px!important;top:calc(50% - 46px)!important;border:1px solid rgba(215,226,235,.3)!important}
 .box-left{left:8px!important}.box-right{right:8px!important}
 .tactical-board i{width:8px!important;height:8px!important;border:1.5px solid rgba(215,170,69,.85)!important;border-radius:50%!important}
 .p1{left:22%!important;top:30%!important}.p2{left:38%!important;top:58%!important}.p3{left:58%!important;top:35%!important}.p4{left:72%!important;top:64%!important}.p5{left:82%!important;top:24%!important}
 .tactical-board b{height:1px!important;background:rgba(215,170,69,.6)!important;transform-origin:left center!important}
 .r1{width:90px!important;left:24%!important;top:33%!important;transform:rotate(25deg)!important}.r2{width:86px!important;left:57%!important;top:39%!important;transform:rotate(-16deg)!important}
 .home .tactical-hero .hero-video-shade{display:block!important;position:absolute!important;inset:0!important;z-index:1!important;background:linear-gradient(90deg,rgba(2,10,17,.9),rgba(2,10,17,.48) 65%,rgba(2,10,17,.28))!important}
 .home .tactical-hero .hero-copy{position:relative!important;z-index:3!important;width:100%!important;align-self:flex-end!important;padding:0!important}
 .home .tactical-hero .home-hero-brand{grid-template-columns:64px 1fr!important;gap:10px!important}
 .home .tactical-hero .home-hero-brand img{width:64px!important;height:64px!important}
 .home .tactical-hero .home-hero-brand h1{font-size:24px!important;line-height:1!important;margin:4px 0 6px!important}
 .home .tactical-hero .hero-tagline{font-size:11px!important;letter-spacing:.04em!important;color:#eef3f6!important}
 .home .tactical-hero .hero-signature{margin:10px 0 0 74px!important;width:calc(100% - 74px)!important;font-size:7px!important}
 .home .tactical-hero .hero-side{display:none!important}
}
@media(max-width:360px){
 .home .tactical-hero{height:222px!important;min-height:222px!important;padding:14px 12px 12px!important}
 .home .tactical-hero .home-hero-brand{grid-template-columns:56px 1fr!important}
 .home .tactical-hero .home-hero-brand img{width:56px!important;height:56px!important}
 .home .tactical-hero .home-hero-brand h1{font-size:21px!important}
 .home .tactical-hero .hero-signature{margin-left:66px!important;width:calc(100% - 66px)!important}
}
/* Approved visual system v4 — faithful to mobile mockup */
@media(max-width:600px){
 .dashboard-main .home{padding:0 10px 28px!important}
 .home .afm-home-v4{height:292px!important;min-height:292px!important;margin:0 0 0!important;border-radius:0!important;border-width:0 0 1px!important;padding:12px!important;background:linear-gradient(145deg,#061827,#020b13)!important}
 .afm-home-v4 .tactical-board{opacity:.5!important;inset:6px!important}
 .afm-home-v4 .hero-video-shade{background:radial-gradient(circle at 50% 43%,rgba(6,27,43,.08),rgba(2,9,15,.48) 72%)!important}
 .afm-home-centre{position:relative!important;z-index:4!important;width:100%!important;height:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important}
 .afm-home-centre img{width:100px!important;height:100px!important;object-fit:contain!important;filter:drop-shadow(0 7px 14px rgba(0,0,0,.38))!important}
 .afm-home-centre h1{font-family:Georgia,serif!important;font-size:25px!important;line-height:.98!important;letter-spacing:.015em!important;margin:7px 0 9px!important;color:#fff!important}
 .afm-home-centre p{font-size:7px!important;letter-spacing:.17em!important;color:#d7aa45!important;margin:0!important}
 #nationsSection{background:#061827!important;border:1px solid rgba(120,151,174,.18)!important;border-radius:0 0 9px 9px!important;padding:10px!important;margin-bottom:13px!important}
 #nationsSection .section-head{margin:0 0 8px!important;padding:0!important;border:0!important;align-items:center!important}
 #nationsSection .section-head h2{display:none!important}
 #nationsSection .kicker{font-size:10px!important;letter-spacing:.06em!important}
 #nationsSection .muted{font-size:8px!important}
 #nationsSection .nation-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}
 #nationsSection .nation-card{min-width:0!important;min-height:72px!important;height:72px!important;padding:7px 3px!important;border-radius:6px!important;background:#082034!important;background-image:none!important;text-align:center!important}
 #nationsSection .nation-card:before{display:none!important}
 #nationsSection .nation-top{justify-content:center!important}
 #nationsSection .flag{font-size:21px!important}
 #nationsSection .arrow,#nationsSection .leagues{display:none!important}
 #nationsSection .nation-card h3{font-size:7px!important;line-height:1!important;margin:7px 0 0!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

 .nation-dashboard{padding:8px 10px 28px!important}
 .nation-dashboard>.afm-section-strip{display:none!important}
 .nation-dashboard .back-link{font-size:10px!important;margin:3px 0 8px!important}
 .nation-dashboard-hero.nation-identity-v4{height:286px!important;min-height:286px!important;border-radius:0!important;margin:0 -10px 0!important;width:calc(100% + 20px)!important;border-left:0!important;border-right:0!important;background-image:none!important;background:#04131f!important;overflow:hidden!important}
 .nation-dashboard-hero.nation-identity-v4:after{background:linear-gradient(0deg,rgba(2,11,18,.93) 0%,rgba(2,11,18,.18) 66%,rgba(2,11,18,.12) 100%)!important;z-index:1!important}
 .nation-flag-wave{position:absolute!important;inset:0!important;z-index:0!important;opacity:.88!important}
 .nation-detail-it .nation-flag-wave{background:linear-gradient(120deg,rgba(0,146,70,.9) 0 20%,rgba(244,245,240,.82) 20% 38%,rgba(206,43,55,.9) 38% 56%,transparent 56%)!important}
 .nation-detail-en .nation-flag-wave{background:linear-gradient(135deg,rgba(244,245,240,.88) 0 22%,rgba(200,16,46,.9) 22% 34%,rgba(244,245,240,.72) 34% 48%,transparent 48%)!important}
 .nation-detail-es .nation-flag-wave{background:linear-gradient(155deg,rgba(170,21,27,.94) 0 20%,rgba(241,191,0,.92) 20% 43%,rgba(170,21,27,.82) 43% 58%,transparent 58%)!important}
 .nation-detail-fr .nation-flag-wave{background:linear-gradient(125deg,rgba(0,35,149,.92) 0 22%,rgba(244,245,240,.78) 22% 40%,rgba(237,41,57,.88) 40% 58%,transparent 58%)!important}
 .nation-detail-de .nation-flag-wave{background:linear-gradient(155deg,rgba(12,12,12,.98) 0 20%,rgba(221,0,0,.9) 20% 38%,rgba(255,206,0,.88) 38% 56%,transparent 56%)!important}
 .nation-landmark{position:absolute!important;right:5%!important;bottom:34px!important;width:50%!important;height:64%!important;z-index:0!important;opacity:.28!important;border-bottom:1px solid rgba(190,210,224,.4)!important}
 .nation-landmark:before,.nation-landmark:after{content:""!important;position:absolute!important;bottom:0!important;border:1px solid rgba(190,210,224,.5)!important}
 .nation-landmark:before{left:18%!important;width:58%!important;height:78%!important;border-radius:50% 50% 0 0!important;transform:skew(-8deg)!important}
 .nation-landmark:after{right:8%!important;width:20%!important;height:98%!important;border-width:0 1px!important;transform:skew(-5deg)!important}
 .nation-dashboard-hero .nation-watermark-logo{display:block!important;position:absolute!important;right:16px!important;top:auto!important;bottom:36px!important;width:84px!important;height:84px!important;opacity:1!important;z-index:4!important;filter:drop-shadow(0 5px 12px rgba(0,0,0,.4))!important}
 .nation-hero-content{left:16px!important;right:112px!important;bottom:25px!important;display:block!important}
 .nation-hero-content h1{font-family:Georgia,serif!important;font-size:30px!important;line-height:1!important;margin:5px 0 7px!important;white-space:nowrap!important}
 .nation-hero-content .eyebrow{font-size:8px!important;color:#d7aa45!important}
 .nation-season{font-size:8px!important;letter-spacing:.15em!important;color:#fff!important;text-transform:uppercase!important;margin:0 0 7px!important}
 .nation-colour-bar{display:block!important;width:82px!important;height:4px!important;margin-bottom:10px!important;background:linear-gradient(90deg,#d7aa45,#fff,#d7aa45)!important}
 .nation-motto{font-size:10px!important;color:#e3e9ee!important;margin:0!important;white-space:nowrap!important}
 .nation-dashboard>section:not(#hero){margin-left:0!important;margin-right:0!important}
 .nation-dashboard>section:nth-of-type(2){background:#061827!important;border:1px solid rgba(120,151,174,.18)!important;border-radius:0 0 9px 9px!important;padding:10px!important}
 .nation-dashboard>section:nth-of-type(2) .section-head{margin:0 0 8px!important;padding:0!important;border:0!important}
 .nation-dashboard>section:nth-of-type(2) .section-head h2{display:none!important}
 .nation-dashboard>section:nth-of-type(2) .kicker{font-size:10px!important}
 .nation-competition-grid{gap:6px!important}
 .nation-division-card{padding:9px 10px!important;min-height:70px!important;border-radius:6px!important}
 .nation-division-card .division-top{margin:0 0 4px!important}
 .nation-division-card .tier{font-size:7px!important}
 .nation-division-card .division-clubs{font-size:7px!important;padding:3px 6px!important}
 .nation-division-card h2{font-size:15px!important;margin:0 0 5px!important}
 .nation-division-card .division-meta{margin:0 0 4px!important}
 .nation-division-card .go{font-size:8px!important}
}
@media(max-width:360px){
 .home .afm-home-v4{height:270px!important;min-height:270px!important}
 .afm-home-centre img{width:88px!important;height:88px!important}
 .afm-home-centre h1{font-size:22px!important}
 #nationsSection .nation-card{height:66px!important;min-height:66px!important}
 #nationsSection .flag{font-size:19px!important}
 #nationsSection .nation-card h3{font-size:6px!important}
 .nation-dashboard-hero.nation-identity-v4{height:265px!important;min-height:265px!important}
 .nation-dashboard-hero .nation-watermark-logo{width:72px!important;height:72px!important}
 .nation-hero-content{right:98px!important}
 .nation-hero-content h1{font-size:26px!important}
 .nation-motto{font-size:9px!important}
}
/* Competition screen v4 — mobile first, AFM official */
@media(max-width:600px){
 main.shell:has(.competition-hero-v4){padding:8px 10px 28px!important}
 main.shell:has(.competition-hero-v4)>.afm-section-strip{display:none!important}
 .competition-hero-v4{min-height:0!important;height:auto!important;padding:13px!important;margin:0 0 8px!important;border-radius:8px!important;background:linear-gradient(135deg,#071d2e,#04131f)!important;border:1px solid rgba(215,170,69,.22)!important}
 .competition-brand{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:10px!important;align-items:center!important}
 .competition-brand img{width:54px!important;height:54px!important;object-fit:contain!important}
 .competition-brand h1{font-family:Arial,sans-serif!important;font-size:21px!important;line-height:1.05!important;margin:4px 0 5px!important;white-space:normal!important;overflow-wrap:normal!important}
 .competition-brand p{font-size:9px!important;margin:0!important;color:#aebdca!important}
 .competition-brand .eyebrow{font-size:7px!important;letter-spacing:.11em!important;color:#d7aa45!important}
 main.shell:has(.competition-hero-v4) .tabs{gap:3px!important;margin:0 0 7px!important;padding:0 0 5px!important}
 main.shell:has(.competition-hero-v4) .tabs button{font-size:8px!important;padding:8px 7px!important}
 main.shell:has(.competition-hero-v4) .competition-body{padding:10px!important;min-height:170px!important}
 main.shell:has(.competition-hero-v4) .table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
 main.shell:has(.competition-hero-v4) table{font-size:9px!important;min-width:430px!important}
 main.shell:has(.competition-hero-v4) th,main.shell:has(.competition-hero-v4) td{padding:7px 5px!important}
}
@media(max-width:360px){
 .competition-brand{grid-template-columns:46px minmax(0,1fr)!important}
 .competition-brand img{width:46px!important;height:46px!important}
 .competition-brand h1{font-size:18px!important}
 main.shell:has(.competition-hero-v4) .tabs button{font-size:7px!important;padding:7px 6px!important}
}
/* Club area v4 — mobile first, compact professional AFM */
@media(max-width:600px){
 .club-page,.club-subpage{padding:8px 10px 28px!important}
 .club-page>.afm-section-strip,.club-subpage>.afm-section-strip{display:none!important}
 .club-page .back-link,.club-subpage .back-link{font-size:10px!important;margin:3px 0 8px!important}
 .club-hero,.subpage-head{min-height:0!important;height:auto!important;padding:12px!important;margin:0 0 8px!important;border-radius:8px!important;background:linear-gradient(135deg,#071d2e,#04131f)!important;border:1px solid rgba(215,170,69,.2)!important}
 .club-identity{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:10px!important;align-items:center!important}
 .club-identity>img,.club-big-mark{width:54px!important;height:54px!important;object-fit:contain!important}
 .club-big-mark{display:grid!important;place-items:center!important;font-size:13px!important;border-radius:8px!important}
 .club-identity h1,.subpage-head h1{font-family:Arial,sans-serif!important;font-size:21px!important;line-height:1.05!important;margin:4px 0!important;overflow-wrap:anywhere!important}
 .club-identity p,.subpage-head p{font-size:9px!important;line-height:1.35!important;margin:0!important}
 .club-identity .eyebrow,.subpage-head .eyebrow{font-size:7px!important;letter-spacing:.1em!important}
 .club-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:0 0 7px!important}
 .club-metrics article{min-height:62px!important;padding:8px!important;border-radius:7px!important}
 .club-metrics small{font-size:7px!important}.club-metrics strong{font-size:14px!important}
 .club-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-bottom:8px!important}
 .club-links a{min-height:76px!important;padding:9px!important;border-radius:7px!important}
 .club-links a>span{font-size:17px!important}.club-links strong{font-size:11px!important}.club-links small{font-size:7px!important}
 .club-moves,.club-subpage .panel{padding:10px!important}
 .club-moves h3,.club-subpage .panel h3{font-size:14px!important}
 .movement{padding:8px 0!important}.movement strong{font-size:10px!important}.movement small{font-size:7px!important}.movement b{font-size:11px!important}
 .roster-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin-bottom:7px!important}
 .roster-summary>div{padding:8px 5px!important;min-width:0!important}.roster-summary small{font-size:7px!important}.roster-summary strong{font-size:13px!important}
 .role-group h3{font-size:13px!important}.player-row{padding:7px 0!important}.player-row img,.player-avatar{width:34px!important;height:34px!important}.player-row strong{font-size:10px!important}.player-row small{font-size:7px!important}.player-row b{font-size:10px!important}
 .credit-balance{padding:14px!important;margin-bottom:7px!important;border-radius:8px!important}.credit-balance small{font-size:7px!important}.credit-balance strong{font-size:30px!important}.credit-balance span{font-size:9px!important}
 .stadium-current{padding:12px!important;margin-bottom:7px!important;border-radius:8px!important}.stadium-current>span{font-size:27px!important}.stadium-current small{font-size:7px!important}.stadium-current strong{font-size:25px!important}.stadium-current p{font-size:8px!important;line-height:1.35!important}
 .stadium-levels{gap:5px!important}.stadium-level{padding:8px!important;grid-template-columns:50px repeat(3,minmax(0,1fr))!important}.stadium-level b,.stadium-level span{font-size:8px!important}
 .rule-note{font-size:7px!important;line-height:1.4!important}
}
@media(max-width:360px){
 .club-identity{grid-template-columns:46px minmax(0,1fr)!important}.club-identity>img,.club-big-mark{width:46px!important;height:46px!important}
 .club-identity h1,.subpage-head h1{font-size:18px!important}
 .club-metrics strong{font-size:12px!important}
 .club-links a{min-height:70px!important}
 .stadium-level{grid-template-columns:44px repeat(3,minmax(0,1fr))!important;padding:7px 5px!important}
 .stadium-level b,.stadium-level span{font-size:7px!important}
}
/* AFM club identity v5 — mobile first */
@media(max-width:600px){
 .afm-subhead-v5{display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;gap:10px!important;align-items:center!important}
 .afm-subhead-v5 .afm-head-logo{display:block!important;width:50px!important;height:50px!important;object-fit:contain!important;filter:drop-shadow(0 4px 9px rgba(0,0,0,.3))!important}
 .afm-subhead-v5>div{min-width:0!important}
 .afm-subhead-v5 h1{margin:3px 0!important;font-size:20px!important}
 .afm-subhead-v5 p{font-size:8px!important;line-height:1.3!important;white-space:normal!important}
 .club-official-head{position:relative!important;overflow:hidden!important}
 .club-official-head:after{content:"AFM · 2026/27"!important;position:absolute!important;right:9px!important;top:8px!important;font-size:6px!important;letter-spacing:.12em!important;color:rgba(215,170,69,.62)!important}
}
@media(max-width:360px){
 .afm-subhead-v5{grid-template-columns:44px minmax(0,1fr)!important;gap:8px!important}
 .afm-subhead-v5 .afm-head-logo{width:44px!important;height:44px!important}
 .afm-subhead-v5 h1{font-size:18px!important}
}

/* AFM mobile shell v6 — large polish block */
.mobile-bottom-nav{display:none}
@media(max-width:600px){
 html{scroll-behavior:smooth}
 body{padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}
 body.menu-open{overflow:hidden!important;touch-action:none}
 .topbar{
   padding-top:env(safe-area-inset-top)!important;
   height:calc(62px + env(safe-area-inset-top))!important;
   backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
   box-shadow:0 8px 24px rgba(0,0,0,.2)!important
 }
 .mobile-menu-btn,.icon-btn,.avatar{border:1px solid rgba(151,177,197,.16)!important;background:rgba(9,31,48,.82)!important}
 .mobile-menu-btn:active,.icon-btn:active{transform:scale(.96)}
 .side-nav{padding-top:calc(14px + env(safe-area-inset-top))!important;overflow-y:auto!important;overscroll-behavior:contain}
 .side-nav nav{padding-bottom:14px}
 .side-nav a{gap:12px!important;border-left:3px solid transparent!important;color:#c7d3dc!important}
 .side-nav a.active{background:rgba(215,170,69,.1)!important;border-left-color:#d7aa45!important;color:#fff!important}
 .side-nav .nav-ico{width:24px!important;font-size:15px!important}
 .side-nav>small{padding-bottom:calc(4px + env(safe-area-inset-bottom))}
 .dashboard-main .home{padding-bottom:14px!important}
 .home .afm-home-v4{height:264px!important;min-height:264px!important}
 .afm-home-centre img{width:88px!important;height:88px!important}
 .afm-home-centre h1{font-size:23px!important;line-height:1!important;margin:7px 0 8px!important}
 .afm-home-centre p{font-size:7px!important;letter-spacing:.14em!important}
 #nationsSection{margin-top:0!important;padding:9px!important}
 #nationsSection .nation-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important}
 #nationsSection .nation-card{height:68px!important;min-height:68px!important;padding:6px 2px!important}
 #nationsSection .flag{font-size:20px!important}
 #nationsSection .nation-card h3{margin-top:6px!important}
 .my-club-section{scroll-margin-top:74px}
 #nationsSection,#results,#matches,#bulletin{scroll-margin-top:74px}
 .my-club-card{border-color:rgba(215,170,69,.16)!important;background:linear-gradient(145deg,#071d2e,#051522)!important}
 .my-club-head{gap:10px!important}
 .my-club-head img,.club-mark{width:44px!important;height:44px!important}
 .my-club-head strong{font-size:14px!important}
 .club-stats{gap:6px!important}
 .club-stats>div{padding:9px!important;border-radius:7px!important;background:rgba(3,16,27,.6)!important}
 .club-action{min-height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:7px!important;background:rgba(215,170,69,.09)!important;border:1px solid rgba(215,170,69,.23)!important}
 .dashboard-grid{margin-top:12px!important}
 .dashboard-grid .panel,.bulletin{background:linear-gradient(180deg,#071b2a,#061622)!important}
 .panel-head{padding-bottom:8px!important;margin-bottom:4px!important;border-bottom:1px solid rgba(151,177,197,.12)!important}
 .empty{background:rgba(3,15,25,.34)!important;border-radius:7px!important}
 #results .empty>div,#matches .empty>div{padding:9px 0!important;border-bottom:1px solid rgba(151,177,197,.1)!important}
 #results .empty>div:last-child,#matches .empty>div:last-child{border-bottom:0!important}
 #results .empty strong,#matches .empty strong{font-size:11px!important;line-height:1.3!important}
 #results .empty p,#matches .empty p{margin:3px 0 0!important;color:#8fa3b4!important;font-size:8px!important}
 .notice{gap:9px!important;padding:10px 0!important;border-bottom:1px solid rgba(151,177,197,.1)!important}
 .notice:last-child{border-bottom:0!important}
 .notice-icon{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:rgba(215,170,69,.08)!important}
 .notice strong{font-size:10px!important}.notice p{font-size:8px!important;line-height:1.35!important}
 footer{padding:14px 2px 6px!important;margin-top:14px!important;font-size:8px!important}
 .mobile-bottom-nav{
   position:fixed;left:0;right:0;bottom:0;z-index:80;
   display:grid;grid-template-columns:repeat(5,1fr);
   min-height:calc(58px + env(safe-area-inset-bottom));
   padding:5px 8px env(safe-area-inset-bottom);
   background:rgba(3,15,25,.97);
   border-top:1px solid rgba(151,177,197,.18);
   backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
   box-shadow:0 -10px 28px rgba(0,0,0,.28)
 }
 .mobile-bottom-nav a{
   display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;
   gap:2px;color:#8fa3b4;text-decoration:none;border-radius:8px;font-size:15px
 }
 .mobile-bottom-nav a small{font-size:7px;letter-spacing:.02em}
 .mobile-bottom-nav a.active,.mobile-bottom-nav a:active{color:#d7aa45;background:rgba(215,170,69,.07)}
}
@media(max-width:360px){
 .home .afm-home-v4{height:246px!important;min-height:246px!important}
 .afm-home-centre img{width:80px!important;height:80px!important}
 .afm-home-centre h1{font-size:21px!important}
 .mobile-bottom-nav{padding-left:4px;padding-right:4px}
 .mobile-bottom-nav a small{font-size:6.5px}
}

/* AFM club suite v7 — Club / Rosa / Crediti / Stadio */
.club-bottom-nav{display:none}
@media(max-width:600px){
 .club-page,.club-subpage{padding-bottom:78px!important}
 .club-bottom-nav{
   position:fixed;left:0;right:0;bottom:0;z-index:82;
   display:grid;grid-template-columns:repeat(5,1fr);
   min-height:calc(58px + env(safe-area-inset-bottom));
   padding:5px 8px env(safe-area-inset-bottom);
   background:rgba(3,15,25,.97);
   border-top:1px solid rgba(151,177,197,.18);
   box-shadow:0 -10px 28px rgba(0,0,0,.3);
   backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
 }
 .club-bottom-nav a{
   display:flex;flex-direction:column;align-items:center;justify-content:center;
   gap:2px;min-width:0;border-radius:8px;color:#8fa3b4;text-decoration:none;font-size:15px
 }
 .club-bottom-nav a small{font-size:7px;letter-spacing:.02em}
 .club-bottom-nav a.active,.club-bottom-nav a:active{color:#d7aa45;background:rgba(215,170,69,.08)}
 .club-official-head,.afm-subhead-v5{
   border-color:rgba(215,170,69,.24)!important;
   box-shadow:0 10px 28px rgba(0,0,0,.16)!important
 }
 .club-identity>img,.club-big-mark,.afm-subhead-v5 .afm-head-logo{
   border-radius:10px!important;background:rgba(3,15,25,.36)!important
 }
 .club-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 .club-metrics article{
   min-height:68px!important;padding:10px!important;
   background:linear-gradient(145deg,#081f31,#061725)!important;
   border:1px solid rgba(151,177,197,.14)!important
 }
 .club-metrics article small{display:block!important;margin-bottom:6px!important;color:#8298aa!important;font-size:7px!important;text-transform:uppercase!important;letter-spacing:.08em!important}
 .club-metrics article strong{font-size:15px!important;line-height:1.1!important}
 .club-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .club-links a{
   min-height:88px!important;padding:11px!important;
   background:linear-gradient(145deg,#081f31,#061725)!important;
   border:1px solid rgba(151,177,197,.14)!important
 }
 .club-links a:active{transform:scale(.985)}
 .club-links a>span{font-size:20px!important}
 .club-links strong{font-size:12px!important}.club-links small{font-size:8px!important;line-height:1.25!important}
 .club-moves,.club-page>.panel,.club-subpage>.panel,.finance-list{
   border-color:rgba(151,177,197,.14)!important;
   background:linear-gradient(180deg,#071b2a,#061622)!important
 }
 .movement{min-height:48px!important;gap:10px!important}
 .movement>div{min-width:0!important}.movement strong{font-size:10px!important;line-height:1.3!important}
 .movement small{display:block!important;margin-top:3px!important;font-size:7px!important;color:#8499aa!important}
 .movement b{font-size:11px!important;white-space:nowrap!important}
 .movement b.positive{color:#68d391!important}.movement b.negative{color:#ff8c8c!important}
 .roster-summary{position:sticky!important;top:0!important;z-index:10!important;background:#04111c!important;padding:5px 0 7px!important}
 .roster-summary>div{
   min-height:58px!important;border:1px solid rgba(151,177,197,.14)!important;
   background:linear-gradient(145deg,#081f31,#061725)!important;border-radius:8px!important
 }
 .role-group{margin-bottom:12px!important}
 .role-group h3{
   position:sticky!important;top:65px!important;z-index:5!important;
   margin:0 -10px 4px!important;padding:9px 10px!important;
   background:rgba(4,17,28,.96)!important;border-bottom:1px solid rgba(151,177,197,.12)!important;
   backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)
 }
 .role-group h3 span{float:right!important;color:#d7aa45!important}
 .player-row{
   min-height:52px!important;padding:8px 2px!important;gap:9px!important;
   border-bottom:1px solid rgba(151,177,197,.1)!important
 }
 .player-row:active{background:rgba(215,170,69,.04)!important}
 .player-row img,.player-avatar{width:38px!important;height:38px!important;flex:0 0 38px!important}
 .player-row>div:nth-child(2){min-width:0!important;flex:1!important}
 .player-row strong{font-size:10.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .player-row small{font-size:7.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .player-row b{font-size:10px!important;min-width:30px!important;text-align:right!important}
 .credit-balance{
   position:relative!important;overflow:hidden!important;
   min-height:126px!important;padding:18px!important;
   background:radial-gradient(circle at 90% 10%,rgba(215,170,69,.14),transparent 34%),linear-gradient(145deg,#082239,#051523)!important;
   border:1px solid rgba(215,170,69,.26)!important
 }
 .credit-balance:after{content:"AFM";position:absolute;right:-5px;bottom:-16px;font:900 64px/1 Georgia,serif;color:rgba(215,170,69,.055)}
 .credit-balance strong{font-size:38px!important;line-height:1!important}
 .credit-balance span{font-size:9px!important;color:#9fb0c0!important}
 .stadium-current{
   min-height:138px!important;padding:16px!important;grid-template-columns:62px minmax(0,1fr)!important;gap:14px!important;
   background:radial-gradient(circle at 8% 18%,rgba(215,170,69,.1),transparent 28%),linear-gradient(145deg,#082239,#051523)!important;
   border:1px solid rgba(215,170,69,.24)!important
 }
 .stadium-current>span{font-size:42px!important}
 .stadium-current small{font-size:12px!important;line-height:1.35!important;letter-spacing:.1em!important}
 .stadium-current strong{font-size:48px!important;line-height:1!important;margin:6px 0 8px!important}
 .stadium-current p{margin-top:0!important;font-size:15px!important;line-height:1.5!important}
 .stadium-levels{display:grid!important;gap:8px!important}
 .stadium-level{
   display:grid!important;align-items:center!important;
   min-height:66px!important;padding:12px 10px!important;
   grid-template-columns:58px repeat(3,minmax(0,1fr))!important;column-gap:8px!important;
   border:1px solid rgba(151,177,197,.12)!important;border-radius:9px!important;background:#061725!important
 }
 .stadium-level b{font-size:16px!important;line-height:1.2!important;margin:0!important}
 .stadium-level span{font-size:14px!important;line-height:1.4!important;margin:0!important}
 .stadium-level.current{border-color:rgba(215,170,69,.44)!important;background:rgba(215,170,69,.08)!important;box-shadow:inset 3px 0 0 #d7aa45!important}
 .club-subpage .rule-note{padding:12px 12px!important;border-radius:8px!important;background:rgba(215,170,69,.05)!important;border:1px solid rgba(215,170,69,.12)!important;font-size:14px!important;line-height:1.55!important}
}
@media(max-width:360px){
 .club-bottom-nav{padding-left:4px;padding-right:4px}
 .club-bottom-nav a small{font-size:6.5px}
 .club-metrics article strong{font-size:13px!important}
 .credit-balance strong{font-size:34px!important}
 .stadium-level{grid-template-columns:48px repeat(3,minmax(0,1fr))!important}
}

/* AFM competitions suite v8 — Nation / Competition / Listone / Player */
.section-bottom-nav{display:none}
@media(max-width:600px){
 .nation-dashboard,main.shell:has(.competition-hero-v4),.list-shell,.player-shell{padding-bottom:78px!important}
 .section-bottom-nav{
   position:fixed;left:0;right:0;bottom:0;z-index:82;
   display:grid;grid-template-columns:repeat(4,1fr);
   min-height:calc(58px + env(safe-area-inset-bottom));
   padding:5px 8px env(safe-area-inset-bottom);
   background:rgba(3,15,25,.97);
   border-top:1px solid rgba(151,177,197,.18);
   box-shadow:0 -10px 28px rgba(0,0,0,.3);
   backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
 }
 .section-bottom-nav a,.section-bottom-nav button{
   display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;
   gap:2px;border:0;border-radius:8px;background:transparent;color:#8fa3b4;
   text-decoration:none;font:inherit;font-size:15px
 }
 .section-bottom-nav small{font-size:7px;letter-spacing:.02em}
 .section-bottom-nav .active,.section-bottom-nav a:active,.section-bottom-nav button:active{color:#d7aa45;background:rgba(215,170,69,.08)}
 main.shell:has(.competition-hero-v4) .tabs{
   position:sticky!important;top:0!important;z-index:18!important;
   margin-left:-10px!important;margin-right:-10px!important;width:calc(100% + 20px)!important;
   padding:6px 10px!important;background:rgba(4,17,28,.97)!important;
   border-bottom:1px solid rgba(151,177,197,.14)!important;
   backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)
 }
 main.shell:has(.competition-hero-v4) .tabs button{min-height:34px!important;border-radius:7px!important}
 main.shell:has(.competition-hero-v4) .tabs button.active{background:rgba(215,170,69,.1)!important;color:#fff!important}
 .competition-body{scroll-margin-top:52px}
 .competition-body .table-wrap{border:1px solid rgba(151,177,197,.12)!important;border-radius:8px!important}
 .competition-body table{border-collapse:separate!important;border-spacing:0!important}
 .competition-body thead th{position:sticky!important;top:0!important;z-index:2!important;background:#061725!important}
 .competition-body tbody tr:nth-child(even){background:rgba(255,255,255,.015)!important}
 .team-cell{gap:7px!important}.team-cell img{width:24px!important;height:24px!important;object-fit:contain!important}
 .matchday{margin-bottom:10px!important}
 .matchday h3{font-size:11px!important;margin:0 0 6px!important;padding-bottom:6px!important;border-bottom:1px solid rgba(151,177,197,.12)!important}
 .fixture{
   display:grid!important;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important;
   align-items:center!important;gap:6px!important;min-height:46px!important;
   padding:8px!important;margin-bottom:5px!important;border-radius:7px!important;
   background:#061725!important;border:1px solid rgba(151,177,197,.12)!important
 }
 .fixture span{font-size:9px!important;line-height:1.25!important}.fixture span:last-child{text-align:right!important}
 .fixture strong{text-align:center!important;font-size:11px!important;color:#d7aa45!important}
 .teams-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 .team-card{min-height:105px!important;padding:10px!important}
 .team-card img,.team-placeholder{width:42px!important;height:42px!important}
 .team-card strong{font-size:10px!important}.team-card span{font-size:7px!important}
 .nation-overview-grid{grid-template-columns:1fr!important;gap:8px!important}
 .nation-match-row{padding:9px 0!important;border-bottom:1px solid rgba(151,177,197,.1)!important}
 .nation-match-row strong{font-size:10px!important;line-height:1.3!important}
 .nation-match-row small{display:block!important;margin-top:3px!important;font-size:7px!important;color:#8398a9!important}
 .nation-match-row .score{display:inline-block!important;min-width:34px!important;text-align:center!important;color:#d7aa45!important}
 .nation-honours-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 .honour-tile{min-height:78px!important;padding:9px!important}
 .honour-tile span,.honour-tile small{font-size:7px!important}.honour-tile strong{font-size:10px!important}
 .list-head{margin-top:3px!important}.list-head img{width:42px!important;height:42px!important}
 .list-tools{
   position:sticky!important;top:0!important;z-index:20!important;
   margin:0 -8px 7px!important;padding:7px 8px!important;
   background:rgba(4,17,28,.97)!important;border-bottom:1px solid rgba(151,177,197,.12)!important;
   backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)
 }
 .list-tools input,.list-tools select{min-height:40px!important}
 .role-tabs{padding:2px 0!important}.role-tabs button{min-height:34px!important}
 .list-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;overflow:hidden!important}
 .list-summary div{padding:7px 4px!important;text-align:center!important}
 .list-summary small{font-size:6px!important}.list-summary strong{font-size:10px!important}
 .list-result-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 1px 6px;color:#71889a;font-size:7px}
 .list-result-bar span:first-child{color:#d7aa45;font-weight:900}
 .player-list{padding:6px!important}
 .player-list .player-row{
   grid-template-columns:36px minmax(0,1fr) auto 16px!important;
   min-height:54px!important;gap:8px!important;padding:8px 3px!important
 }
 .player-list .player-role{width:34px!important;height:34px!important}
 .player-list .player-team{display:none!important}
 .player-list .player-meta{display:none!important}
 .player-list .player-quote{min-width:36px!important;font-size:9px!important}
 .player-list .player-open{font-size:16px!important}
 .player-shell .player-hero{
   background:radial-gradient(circle at 88% 12%,rgba(215,170,69,.12),transparent 30%),linear-gradient(135deg,#0d2b43,#071522 72%)!important;
   border-color:rgba(215,170,69,.22)!important
 }
 .player-shell .player-avatar{width:64px!important;height:64px!important}
 .player-shell .player-hero h1{font-size:20px!important}
 .player-shell .player-badges span{background:rgba(3,15,25,.42)!important}
 .player-panel{background:linear-gradient(180deg,#071b2a,#061622)!important;border-color:rgba(151,177,197,.14)!important}
 .info-grid div{background:#061725!important;border-color:rgba(151,177,197,.12)!important}
}
@media(max-width:360px){
 .section-bottom-nav{padding-left:4px;padding-right:4px}
 .section-bottom-nav small{font-size:6.5px}
 .list-summary small{font-size:5.5px!important}
 .fixture{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)!important}
}

/* AFM admin mobile v9 */
@media(max-width:600px){
 .admin-shell{padding-bottom:82px!important}
 .admin-bottom-nav{display:grid!important}
 .admin-shell .list-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .admin-shell .list-summary>div{min-height:54px!important;padding:7px 4px!important;text-align:center!important}
 .admin-shell .list-summary small{font-size:5.5px!important;line-height:1.2!important}
 .admin-shell .list-summary strong{font-size:11px!important}
 .admin-shell .admin-card{border-color:rgba(151,177,197,.14)!important;background:linear-gradient(180deg,#071b2a,#061622)!important}
 .admin-shell .admin-card button{min-height:42px!important}
 .admin-shell .admin-card button:active{transform:scale(.99)}
 .admin-shell input,.admin-shell select{font-size:16px!important}
 .admin-shell label{font-size:7px!important;text-transform:uppercase!important;letter-spacing:.07em!important}
 .admin-shell #seasonAdmin button#closeSeason{background:#6d2430!important;color:#fff!important}
 .admin-shell #seasonAdmin button#createNextSeason{background:#e1b33d!important;color:#07131f!important}
 .admin-shell #exportSeason{border:1px solid rgba(151,177,197,.2)!important}
 .admin-shell #healthBox .admin-club,.admin-shell #auditList .admin-club,.admin-shell #noticeList .admin-club{padding:9px!important}
 .admin-shell .admin-club strong{font-size:10px!important;line-height:1.3!important}
 .admin-shell .admin-club small{font-size:7px!important;line-height:1.35!important}
}

/* AFM dashboard utility hub v10 */
.quick-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.quick-hub a{display:flex;align-items:center;gap:9px;min-height:62px;padding:10px;border:1px solid rgba(151,177,197,.14);border-radius:9px;background:linear-gradient(145deg,#081f31,#061725);color:#fff;text-decoration:none}
.quick-hub a>span{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:8px;background:rgba(215,170,69,.08);color:#d7aa45;font-size:15px}
.quick-hub strong{display:block;font-size:9px}.quick-hub small{display:block;margin-top:3px;color:#8297a8;font-size:7px;line-height:1.25}
@media(max-width:600px){
 .quick-hub{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}
 .quick-hub a{min-height:58px;padding:8px;gap:8px}
 .quick-hub a:active{transform:scale(.985);border-color:rgba(215,170,69,.32)}
 .quick-hub a>span{width:30px;height:30px;flex-basis:30px;font-size:14px}
 .quick-hub strong{font-size:8.5px}.quick-hub small{font-size:6.5px}
}

/* AFM roster mobile cleanup v141 */
@media(max-width:600px){
 .club-subpage .roster-summary{
   position:static!important;top:auto!important;z-index:auto!important;
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:7px!important;margin:10px 0 12px!important;padding:0!important;background:transparent!important
 }
 .club-subpage .roster-summary>div{
   min-height:64px!important;padding:10px 11px!important;border-radius:11px!important;
   border:1px solid rgba(53,105,140,.55)!important;background:linear-gradient(180deg,#0a2940,#071d2e)!important
 }
 .club-subpage .roster-summary small{font-size:7px!important;line-height:1.15!important}
 .club-subpage .roster-summary strong{font-size:17px!important;line-height:1.05!important;margin-top:7px!important}

 .club-subpage .role-filters{
   width:100%!important;display:flex!important;gap:6px!important;overflow-x:auto!important;
   padding:0 2px 10px!important;margin:0!important;scroll-padding-inline:2px!important
 }
 .club-subpage .role-filters button{
   min-height:36px!important;padding:8px 12px!important;border-radius:18px!important;
   font-size:12px!important;line-height:1!important;white-space:nowrap!important;
   box-shadow:none!important
 }
 .club-subpage .role-filters button.active{box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important}

 .club-subpage #roster.panel{
   padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important
 }
 .club-subpage .role-group{
   margin:0 0 10px!important;border:1px solid rgba(53,105,140,.55)!important;
   border-radius:13px!important;overflow:hidden!important;background:#061a2a!important
 }
 .club-subpage .role-group h3{
   position:static!important;top:auto!important;z-index:auto!important;
   display:flex!important;align-items:center!important;justify-content:space-between!important;
   min-height:42px!important;margin:0!important;padding:10px 12px!important;
   background:linear-gradient(90deg,#0b4f7d,#092f4b)!important;
   border:0!important;border-bottom:1px solid rgba(53,105,140,.55)!important;
   backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
   font-size:14px!important;line-height:1!important;color:#fff!important
 }
 .club-subpage .role-group h3 span{
   float:none!important;font-size:13px!important;color:#f2c750!important
 }
 .club-subpage .player-row{
   display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;
   min-height:60px!important;gap:10px!important;padding:9px 10px!important;
   border:0!important;border-bottom:1px solid rgba(53,105,140,.28)!important;
   background:linear-gradient(90deg,#071d2e,#061824)!important
 }
 .club-subpage .player-row:last-child{border-bottom:0!important}
 .club-subpage .player-row>img,.club-subpage .player-avatar{
   width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:9px!important
 }
 .club-subpage .player-row strong{
   font-size:13px!important;line-height:1.1!important;white-space:nowrap!important;
   overflow:hidden!important;text-overflow:ellipsis!important
 }
 .club-subpage .player-row small{
   margin-top:4px!important;font-size:9px!important;line-height:1.15!important;
   white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
 }
 .club-subpage .player-row b{
   min-width:34px!important;padding:6px 7px!important;border-radius:8px!important;
   font-size:13px!important;line-height:1!important;text-align:center!important;
   color:#fff!important;background:#092b44!important;border:1px solid rgba(53,105,140,.65)!important
 }
}

/* AFM SIMPLE MOBILE UI v184 */
@media(max-width:600px){
 body{background:#06131f!important;padding-bottom:72px!important}
 .shell,.manager-shell,.control-shell,.f-shell,.admin-shell,.club-page,.club-subpage{
   width:100%!important;max-width:100%!important;padding-left:10px!important;padding-right:10px!important
 }
 .topbar{
   height:58px!important;padding:0 10px!important;
   background:rgba(6,19,31,.98)!important;border-bottom:1px solid rgba(181,202,216,.12)!important
 }
 .mobile-menu-btn{width:38px!important;height:38px!important;border-radius:9px!important;border-color:rgba(181,202,216,.16)!important;background:#0b2232!important}
 .brand-row{flex:0 0 auto!important}.brand-logo{width:38px!important;height:38px!important;flex-basis:38px!important}
 .top-actions{gap:6px!important}.icon-btn,.avatar{width:36px!important;height:36px!important;flex-basis:36px!important}
 .dashboard-main .home{padding:0 10px 76px!important}

 .app-dashboard-hero{
   margin:12px 0 4px!important;padding:13px!important;min-height:0!important;
   border-radius:10px!important;background:#091b29!important
 }
 .dashboard-intro{gap:11px!important}
 .dashboard-intro img{width:46px!important;height:46px!important;flex-basis:46px!important}
 .dashboard-intro h1{font-size:18px!important;line-height:1.05!important;margin:1px 0 2px!important}
 .dashboard-intro p{font-size:11px!important;line-height:1.3!important}
 .dashboard-intro .kicker{font-size:8px!important}

 .section-head{margin:16px 0 8px!important;padding:0!important;border:0!important}
 .section-head h2{font-size:18px!important;line-height:1.1!important}
 .section-head .kicker{font-size:8px!important}
 .section-head .muted{display:block!important;font-size:9px!important;color:#8297a8!important}

 .my-club-section{margin-top:10px!important}
 .my-club-picker-wrap{margin-bottom:7px!important}
 .my-club-picker-wrap label{font-size:9px!important}
 .my-club-picker-wrap select{min-height:42px!important;font-size:13px!important;border-radius:9px!important}
 .my-club-card{padding:12px!important;border-radius:10px!important}
 .my-club-head{gap:10px!important}
 .my-club-head .club-real-logo,.club-logo-fallback{width:44px!important;height:44px!important;flex-basis:44px!important}
 .my-club-head strong{font-size:15px!important}
 .my-club-head span{font-size:9px!important}
 .club-stats{grid-template-columns:1fr 1fr!important;gap:6px!important;margin-top:10px!important}
 .club-stats>div{padding:9px!important;border-radius:8px!important}
 .club-stats small{font-size:8px!important}.club-stats b{font-size:15px!important}
 .club-action{min-height:40px!important;font-size:11px!important}

 .nation-grid{grid-template-columns:1fr!important;gap:6px!important}
 .nation-card{
   min-height:72px!important;
   grid-template-columns:32px minmax(0,1fr) 24px!important;
   padding:10px 11px!important;border-radius:10px!important
 }
 .nation-card .flag{font-size:24px!important}
 .nation-card .arrow{width:24px!important;height:24px!important;font-size:12px!important}
 .nation-card h3{font-size:14px!important}
 .nation-card .leagues{display:flex!important;gap:5px!important}
 .nation-card .leagues span{font-size:9px!important}
 .nation-card .leagues span+span:before{content:"·";margin-right:5px;color:#5f7486}

 .dashboard-grid{grid-template-columns:1fr!important;gap:8px!important;margin-top:16px!important}
 .panel{padding:12px!important;border-radius:10px!important}
 .panel-head{align-items:center!important}
 .panel-head h3{font-size:14px!important}.badge{font-size:8px!important}
 .empty{min-height:92px!important;padding:14px!important}
 .empty>span{font-size:22px!important}.empty strong{font-size:12px!important}.empty p{font-size:10px!important}
 .hold-hint{font-size:8px!important}
 footer{padding:20px 2px 8px!important;font-size:8px!important}

 .country-hero,.competition-hero,.club-hero,.subpage-head,.manager-hero,.control-hero,.f-hero,.m-hero{
   padding:13px!important;margin:8px 0 9px!important;border-radius:10px!important;background:#091b29!important;
   box-shadow:none!important
 }
 .country-hero h1,.competition-hero h1,.club-hero h1,.subpage-head h1,.manager-hero h1,.control-hero h1,.f-hero h1{
   font-size:20px!important;line-height:1.08!important
 }
 .country-hero p,.competition-hero p,.club-hero p,.subpage-head p,.manager-hero p,.control-hero p,.f-hero p{font-size:10px!important}
 .country-flag{font-size:34px!important}
 .back-link{margin:3px 0 8px!important;font-size:10px!important}

 .tabs{gap:0!important;overflow-x:auto!important;padding:0!important}
 .tabs button{min-height:40px!important;padding:0 10px!important;font-size:10px!important;border-radius:0!important}
 .competition-body{padding:10px!important;min-height:180px!important}
 .standings{font-size:10px!important}
 .standings th{font-size:7px!important;padding:7px 5px!important}
 .standings td{padding:8px 5px!important}
 .team-cell{min-width:120px!important;gap:6px!important}
 .team-cell img{width:22px!important;height:22px!important}
 .fixture{
   grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr)!important;
   min-height:42px!important;padding:7px 4px!important;margin:0!important;border-radius:0!important;
   background:transparent!important;border:0!important;border-bottom:1px solid rgba(181,202,216,.10)!important
 }
 .fixture span{font-size:9px!important}.fixture strong{font-size:10px!important}
 .matchday{margin-bottom:12px!important}.matchday h3{font-size:12px!important;margin-bottom:5px!important}

 .manager-shell,.control-shell,.f-shell{padding-top:6px!important;padding-bottom:80px!important}
 .manager-hero,.control-hero,.f-hero{margin-top:6px!important}
 .manager-kpis,.control-kpis,.f-kpis{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-top:10px!important
 }
 .manager-kpis div,.control-kpis div,.f-kpis div{padding:9px!important;border-radius:8px!important}
 .manager-kpis small,.control-kpis small,.f-kpis small{font-size:7px!important}
 .manager-kpis strong,.control-kpis strong,.f-kpis strong{font-size:15px!important}
 .manager-shortcuts,.control-actions{gap:6px!important;margin:8px 0!important}
 .manager-shortcuts a,.control-actions a{min-height:40px!important;font-size:10px!important;border-radius:8px!important}
 .manager-card,.control-card,.f-card{padding:11px!important;border-radius:10px!important}
 .manager-card h2,.control-card h2,.f-card h2{font-size:14px!important}
 .club-manager-card{padding:10px!important;border-radius:9px!important}
 .club-head img,.club-fallback{width:42px!important;height:42px!important}
 .club-head strong{font-size:13px!important}.club-head small{font-size:9px!important}
 .club-kpis{grid-template-columns:1fr 1fr!important;gap:5px!important}
 .club-kpis div{padding:8px!important}
 .club-kpis small{font-size:7px!important}.club-kpis b{font-size:12px!important}
 .match-line{font-size:9px!important;padding:8px 0!important}
 .manager-alert{font-size:9px!important;padding:7px!important}
 .club-actions a,.club-actions button{min-height:38px!important;font-size:10px!important}
 .free-agents-panel{padding:9px!important;margin-top:8px!important}
 .free-agents-head h3{font-size:13px!important}
 .free-agents-head small{font-size:8px!important}
 .free-agents-search{min-height:40px!important;font-size:14px!important}
 .free-role-tabs{gap:4px!important;margin:7px 0!important}
 .free-role-tabs button{min-height:30px!important;padding:0 8px!important;font-size:8px!important}
 .free-agent-list{max-height:420px!important}
 .free-agent-row{grid-template-columns:34px minmax(0,1fr) 24px 36px!important;gap:7px!important;padding:6px!important}
 .free-agent-row img,.free-agent-avatar{width:34px!important;height:34px!important}
 .free-agent-main strong{font-size:10px!important}
 .free-agent-main small{font-size:7px!important}
 .free-agent-role{font-size:8px!important}
 .free-agent-quote{font-size:9px!important}

 .control-actions{grid-template-columns:repeat(2,1fr)!important}
 .division-line{grid-template-columns:minmax(0,1fr) repeat(3,44px)!important;gap:4px!important;padding:8px 0!important}
 .division-line strong{font-size:10px!important}.division-line small{font-size:8px!important}
 .division-stat{padding:5px 2px!important}.division-stat b{font-size:10px!important}.division-stat span{font-size:6px!important}
 .day-status{font-size:9px!important;line-height:1.35!important}
 .day-row strong{font-size:10px!important}.day-row small{font-size:8px!important}

 .admin-shell{padding-top:6px!important;padding-bottom:82px!important}
 .admin-head{margin:5px 0 8px!important;gap:9px!important}
 .admin-head img{width:40px!important;height:40px!important}.admin-head h1{font-size:18px!important}
 .admin-jump-nav{
   top:0!important;margin:6px 0 9px!important;padding:5px!important;gap:4px!important;border-radius:9px!important
 }
 .admin-jump-nav a{min-height:34px!important;padding:0 9px!important;font-size:9px!important;border-radius:7px!important}
 .admin-card{padding:11px!important;margin-top:8px!important;border-radius:10px!important}
 .admin-card h2{font-size:14px!important}
 .admin-card p.muted{font-size:9px!important;line-height:1.35!important}
 .admin-card label{font-size:9px!important;margin:8px 0 4px!important}
 .admin-card input,.admin-card select,.admin-card button{min-height:42px!important;font-size:13px!important;border-radius:8px!important}
 .admin-club{padding:8px!important;border-radius:8px!important}
 .admin-club strong{font-size:11px!important}.admin-club small{font-size:8px!important}
 .admin-fold summary{padding:10px 11px!important;font-size:12px!important;border-radius:8px!important}

 .f-grid{grid-template-columns:1fr!important;gap:8px!important}
 .f-tools{top:0!important;padding:6px!important;margin:7px 0!important;border-radius:9px!important}
 .f-tools input{min-height:40px!important;font-size:13px!important}
 .f-filters button{min-height:34px!important;font-size:8px!important}
 .club-fin{padding:9px!important;border-radius:8px!important}
 .club-fin-head strong{font-size:11px!important}.club-fin-head small{font-size:8px!important}
 .balance{font-size:12px!important}
 .club-fin-kpis{grid-template-columns:repeat(2,1fr)!important;gap:5px!important}
 .club-fin-kpis small{font-size:7px!important}.club-fin-kpis b{font-size:10px!important}

 .club-page,.club-subpage{padding-bottom:80px!important}
 .club-hero,.subpage-head{margin-top:4px!important}
 .club-identity{grid-template-columns:48px minmax(0,1fr)!important;gap:10px!important}
 .club-identity img,.club-big-mark{width:48px!important;height:48px!important;flex-basis:48px!important}
 .club-identity .eyebrow,.subpage-head .eyebrow{font-size:7px!important}
 .club-identity h1,.subpage-head h1{font-size:19px!important}
 .club-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:8px 0!important}
 .club-metrics article{min-height:62px!important;padding:9px!important;border-radius:8px!important}
 .club-metrics small{font-size:7px!important}.club-metrics strong{font-size:14px!important}
 .club-links{grid-template-columns:1fr!important;gap:6px!important}
 .club-links .mobile-duplicate-link{display:none!important}
 .club-links a{min-height:68px!important;padding:9px!important;border-radius:8px!important}
 .club-links a>span{font-size:18px!important}.club-links strong{font-size:11px!important}.club-links small{font-size:8px!important}
 .club-moves,.club-page>.panel,.club-subpage>.panel{padding:10px!important}

 .role-filters{gap:5px!important;padding-bottom:8px!important}
 .role-filters button{min-height:34px!important;padding:7px 11px!important;font-size:10px!important;border-radius:17px!important}
 .club-subpage .role-group{margin-bottom:8px!important;border-radius:9px!important;border-color:rgba(181,202,216,.12)!important}
 .club-subpage .role-group h3{
   min-height:38px!important;padding:9px 10px!important;font-size:12px!important;
   background:#0a2232!important;border-color:rgba(181,202,216,.12)!important
 }
 .club-subpage .player-row{
   min-height:56px!important;padding:8px 9px!important;gap:9px!important;
   background:#091b29!important;border-bottom:1px solid rgba(181,202,216,.10)!important
 }
 .club-subpage .player-row strong{font-size:12px!important}
 .club-subpage .player-row small{font-size:9px!important}
 .club-subpage .player-row b{font-size:12px!important;background:#0b2232!important;border-color:rgba(181,202,216,.16)!important}

 .mobile-bottom-nav,.section-bottom-nav,.club-bottom-nav{
   min-height:58px!important;padding-bottom:env(safe-area-inset-bottom)!important;
   background:rgba(6,19,31,.98)!important;border-top:1px solid rgba(181,202,216,.12)!important;
   box-shadow:none!important
 }
 .mobile-bottom-nav a,.section-bottom-nav a,.section-bottom-nav button,.club-bottom-nav a{
   color:#8194a4!important;background:transparent!important
 }
 .mobile-bottom-nav .active,.section-bottom-nav .active,.club-bottom-nav .active{
   color:#fff!important;background:rgba(215,170,69,.06)!important
 }
 .mobile-bottom-nav small,.section-bottom-nav small,.club-bottom-nav small{font-size:7px!important}

 /* Secondary pages */
 .search-shell,.notice-shell,.profile-shell,.list-shell,.rules-shell,.trade-shell,.player-shell,.m-shell{
   width:100%!important;max-width:100%!important;padding:7px 9px 80px!important
 }
 .search-hero,.notice-hero,.profile-hero,.rules-head,.player-hero,.m-hero{
   margin:6px 0 9px!important;padding:12px!important;border-radius:10px!important
 }
 .search-hero h1,.notice-hero h1,.profile-hero h1,.rules-head h1,.player-hero h1,.m-hero h1{
   font-size:19px!important
 }
 .search-box input{min-height:44px!important;font-size:16px!important}
 .result-card{grid-template-columns:38px minmax(0,1fr) auto!important;padding:9px!important}
 .result-card img,.result-icon{width:38px!important;height:38px!important}
 .result-card strong{font-size:11px!important}.result-card small{font-size:8px!important}

 .notice-head{align-items:flex-start!important}
 .notice-head p{font-size:9px!important;max-width:210px}
 .mark-all{min-height:34px!important;padding:0 8px!important;font-size:8px!important;white-space:nowrap}
 .notice-kpis-simple{grid-template-columns:1fr 1fr!important;max-width:none!important}
 .notice-kpis div{padding:8px!important}
 .notice-kpis small{font-size:7px!important}.notice-kpis strong{font-size:15px!important}
 .notice-tools{position:static!important;grid-template-columns:1fr!important;padding:0!important;border:0!important;background:transparent!important}
 .notice-tools input{min-height:42px!important;font-size:14px!important}
 .notice-filters{overflow-x:auto!important;gap:4px!important}
 .notice-filters button{flex:0 0 auto!important;min-height:32px!important;padding:0 9px!important}
 .notice-card{padding:10px!important}.notice-card h2{font-size:12px!important}.notice-card p{font-size:9px!important}

 .profile-id{grid-template-columns:50px minmax(0,1fr)!important;gap:10px!important}
 .profile-avatar{width:50px!important;height:50px!important;font-size:17px!important}
 .profile-grid{grid-template-columns:1fr!important;gap:7px!important}
 .profile-card{padding:11px!important}.profile-card h2{font-size:13px!important}
 .profile-card input,.profile-card button{min-height:42px!important}
 .profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
 .profile-stats div{padding:8px!important}

 .list-head{gap:9px!important;margin:5px 0 9px!important}
 .list-head img{width:40px!important;height:40px!important}.list-head h1{font-size:18px!important}.list-head p{font-size:8px!important}
 .list-tools{position:static!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;padding:0!important;margin:0 0 7px!important;background:transparent!important;border:0!important}
 .list-tools #search{grid-column:1 / -1!important}
 .list-tools input,.list-tools select{min-height:40px!important;font-size:12px!important}
 .role-tabs{grid-column:1 / -1!important;padding:0!important;gap:4px!important}
 .role-tabs button{min-height:32px!important;padding:0 9px!important;font-size:8px!important}
 .list-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important}
 .list-summary div{padding:6px 2px!important}
 .list-summary small{font-size:5.5px!important}.list-summary strong{font-size:10px!important}
 .list-result-bar{font-size:8px!important;margin:5px 1px!important}
 .player-list{padding:5px!important}
 .player-list .player-row{grid-template-columns:36px minmax(0,1fr) auto 14px!important;gap:7px!important;padding:8px 4px!important}
 .player-list .player-team,.player-list .player-meta{display:none!important}
 .player-list .player-quote{font-size:10px!important}

 .trade-card{padding:11px!important;margin-top:7px!important}
 .trade-card h1{font-size:19px!important}.trade-card h2{font-size:13px!important}
 .trade-note{font-size:9px!important}
 .trade-create>summary{font-size:13px!important}
 .trade-grid{grid-template-columns:1fr!important;gap:7px!important}
 .trade-card select,.trade-card input,.trade-card textarea,.trade-card button{min-height:42px!important;font-size:13px!important}
 .pick-list{max-height:300px!important}.pick{padding:8px!important}
 .status{font-size:9px!important;padding:9px!important}

 .rules-nav{margin:0 -9px!important;padding:5px 9px!important;gap:4px!important}
 .rules-nav a{padding:7px 9px!important;font-size:8px!important}
 .rule-card{padding:11px!important;margin:6px 0!important}
 .rule-card h2{font-size:13px!important}.rule-card p,.rule-card li{font-size:9px!important;line-height:1.5!important}

 .m-tools{position:static!important;grid-template-columns:1fr!important;padding:0!important;border:0!important;background:transparent!important}
 .m-tools input{min-height:42px!important;font-size:14px!important}
 .m-filters{overflow-x:auto!important}.m-filters button{flex:0 0 auto!important;min-height:32px!important;font-size:8px!important}
 .m-grid{grid-template-columns:1fr!important;gap:7px!important}
 .manager-row{padding:9px!important}.manager-head strong{font-size:11px!important}.manager-head small{font-size:8px!important}
 .assign-link{font-size:8px!important}

 .player-id{gap:9px!important}.player-avatar{width:50px!important;height:50px!important}
 .player-panel{padding:10px!important;margin-top:7px!important}
 .info-grid{grid-template-columns:1fr 1fr!important;gap:5px!important}
 .info-grid div{padding:8px!important}
 .favorite-btn{min-height:32px!important;font-size:8px!important}
}

/* Stadium mobile compact v3 */
@media(max-width:600px){
 .club-subpage .stadium-current{min-height:120px!important;padding:14px!important;grid-template-columns:54px minmax(0,1fr)!important;gap:10px!important;margin-bottom:6px!important}
 .club-subpage .stadium-current>span{font-size:36px!important}
 .club-subpage .stadium-current small{font-size:10px!important;line-height:1.25!important}
 .club-subpage .stadium-current strong{font-size:42px!important;line-height:1!important;margin:4px 0 6px!important}
 .club-subpage .stadium-current p{font-size:13px!important;line-height:1.4!important}

 .club-subpage .stadium-levels{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 .club-subpage .stadium-level{display:block!important;min-height:132px!important;padding:10px!important;text-align:left!important;word-break:normal!important;overflow-wrap:normal!important;border-radius:10px!important}
 .club-subpage .stadium-level>b{display:block!important;font-size:14px!important;line-height:1.15!important;margin:0 0 6px!important}
 .club-subpage .stadium-level>.stadium-stat{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;padding:4px 0!important;margin:0!important}
 .club-subpage .stadium-level>.stadium-stat i{font-size:10px!important;line-height:1.2!important;white-space:nowrap!important;font-style:normal!important}
 .club-subpage .stadium-level>.stadium-stat strong{font-size:11px!important;line-height:1.2!important;white-space:nowrap!important}
 .club-subpage .stadium-level>.stadium-results{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;padding-top:5px!important;margin:0!important}
 .club-subpage .stadium-level>.stadium-results i{font-size:9px!important;line-height:1.2!important;white-space:nowrap!important;font-style:normal!important}
 .club-subpage .stadium-level>.stadium-results strong{font-size:10px!important;white-space:nowrap!important}
 .club-subpage .rule-note{padding:10px!important;font-size:12px!important;line-height:1.45!important;margin-top:8px!important}
}
@media(max-width:360px){
 .club-subpage .stadium-current{min-height:112px!important;padding:12px!important;grid-template-columns:48px minmax(0,1fr)!important;gap:8px!important}
 .club-subpage .stadium-current>span{font-size:32px!important}
 .club-subpage .stadium-current strong{font-size:38px!important}
 .club-subpage .stadium-current p{font-size:12px!important}
 .club-subpage .stadium-level{min-height:126px!important;padding:9px!important}
 .club-subpage .stadium-level>.stadium-stat i{font-size:9px!important}
 .club-subpage .stadium-level>.stadium-stat strong{font-size:10px!important}
 .club-subpage .stadium-level>.stadium-results i{font-size:8.5px!important}
}