.fm2-menu{display:grid;gap:10px;margin:12px 0 20px}.fm2-menu h2{font-size:clamp(20px,5vw,25px);margin:8px 0 12px}.fm2-item{display:flex;align-items:center;text-align:left;width:100%;gap:13px;padding:15px;min-height:74px;border-radius:16px;background:rgba(20,33,45,.96);color:#f5f7fa;border:1px solid #334956;white-space:normal}.fm2-item>svg{width:26px;height:26px;flex:none;color:#bafa58}.fm2-item>svg:last-child{width:17px;height:17px}.fm2-copy{flex:1;min-width:0;display:grid;gap:4px}.fm2-copy strong{font-size:16px}.fm2-copy small{font-weight:400;font-size:13px;line-height:1.35;color:#b9c9d5}.fm2-nav{z-index:20;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px max(5px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));overflow:visible}.fm2-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:6px 2px;font-size:11px;white-space:normal}.fm2-nav svg{width:21px;height:21px;color:#bafa58}.fm2-coach-panel{display:none}.fm2-coach .fm2-coach-panel{display:block}.fm2-coach>:not(#fm2-coach-panel){display:none!important}.fm2-coach-panel>.fm2-item{margin:8px 0}.fm2-menu button:focus-visible{outline:2px solid #bafa58;outline-offset:2px}main{padding-bottom:calc(100px + env(safe-area-inset-bottom))}

/* FOOTBALL MARKET — TACTICS PREMIUM */
#fm-pro-home{
  order:-100!important;
  border:1px solid #b5fa50!important;
  border-radius:24px!important;
  padding:16px!important;
  background:linear-gradient(145deg,#102b25,#101d29)!important;
  box-shadow:0 6px 25px rgba(181,250,80,.08);
}
#fm-pro-home .fm-pro-hero{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:10px!important;
  padding:14px!important;
  border-radius:18px!important;
}
#fm-pro-home .fm-pro-hero svg{
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  max-height:220px!important;
}
#fm-pro-home .fm-pro-hero h3{
  font-size:24px!important;
  margin:4px 0!important;
}
#fm-pro-home .fm-pro-launch{
  width:100%!important;
  min-height:52px!important;
  border-radius:14px!important;
  font-size:17px!important;
  font-weight:800!important;
}

/* COMPACT TACTICS HOME */
#fm-pro-home{
  padding:10px!important;
  border-radius:18px!important;
}
#fm-pro-home .fm-pro-head{
  display:none!important;
}
#fm-pro-home .fm-pro-hero{
  display:grid!important;
  grid-template-columns:38% minmax(0,1fr)!important;
  gap:8px!important;
  padding:10px!important;
  align-items:center!important;
}
#fm-pro-home .fm-pro-hero svg{
  grid-column:1;
  grid-row:1/3;
  width:100%!important;
  max-height:100px!important;
}
#fm-pro-home .fm-pro-hero h3{
  font-size:17px!important;
  margin:0!important;
}
#fm-pro-home .fm-pro-hero p{
  font-size:12px!important;
  margin:0!important;
}
#fm-pro-home .fm-pro-launch{
  grid-column:1/-1;
  min-height:42px!important;
  font-size:15px!important;
  padding:10px!important;
}

/* FM SCROLL DOWN HINT */
.fm-scroll-hint{
  position:fixed;
  left:50%;
  bottom:96px;
  transform:translateX(-50%);
  z-index:40;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  padding:8px 10px;
  border-radius:18px;
  background:rgba(10,20,28,.78);
  backdrop-filter:blur(8px);
  border:1px solid rgba(181,250,80,.35);
  box-shadow:0 8px 24px rgba(0,0,0,.28);
  transition:opacity .25s ease, transform .25s ease;
}
.fm-scroll-hint.hidden{
  opacity:0;
  transform:translateX(-50%) translateY(12px);
  pointer-events:none;
}
.fm-scroll-hint .fm-arrow{
  width:14px;
  height:14px;
  border-right:3px solid #b5fa50;
  border-bottom:3px solid #b5fa50;
  transform:rotate(45deg);
  animation:fmArrowBounce 1.25s infinite;
}
.fm-scroll-hint .fm-arrow:nth-child(2){animation-delay:.15s}
.fm-scroll-hint .fm-arrow:nth-child(3){animation-delay:.3s}
.fm-scroll-hint .fm-scroll-text{
  font-size:11px;
  color:#dce7ef;
  white-space:nowrap;
  margin-top:2px;
}
@keyframes fmArrowBounce{
  0%,100%{opacity:.25;transform:rotate(45deg) translate(0,0)}
  50%{opacity:1;transform:rotate(45deg) translate(4px,4px)}
}
@media (min-width:768px){
  .fm-scroll-hint{bottom:110px}
}

/* MINIMAL HOME ARROWS */
.fm-scroll-hint{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  padding:6px!important;
  bottom:85px!important;
}
.fm-scroll-hint .fm-scroll-text,
.fm-scroll-hint .fm-arrow:nth-child(3){
  display:none!important;
}
.fm-scroll-hint .fm-arrow{
  width:16px;
  height:16px;
  filter:drop-shadow(0 0 5px #b5fa50);
}
body:has(#fm-pro-home) .fm-scroll-hint{
  display:flex;
}
body:not(:has(#fm-pro-home)) .fm-scroll-hint{
  display:none!important;
}
@media(prefers-reduced-motion:reduce){
  .fm-scroll-hint .fm-arrow{
    animation:none!important;
  }
}

/* FOOTBALL HUB PREMIUM */
#fm-pro-home{
  padding:12px!important;
  border-radius:20px!important;
  background:#101f2a!important;
  border:1px solid #47633a!important;
}
#fm-pro-home .fm-pro-head{
  display:flex!important;
  margin-bottom:10px!important;
}
#fm-pro-home .fm-pro-head span{
  display:none!important;
}
.fm-hub-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
.fm-hub-grid button{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:76px;
  padding:10px;
  border:1px solid #354754;
  border-radius:14px;
  background:#1b2c38;
  color:#fff;
  font-size:14px;
  font-weight:700;
}
.fm-hub-grid button svg{
  width:26px;
  height:26px;
  color:#b5fa50;
}
.fm-hub-grid button:active{
  background:#294332;
}

/* FOOTBALL HUB CLEAN */
#fm-pro-home .fm-pro-grid,
#fm-radar,
.easy-near,
#fm-install-home{
  display:none!important;
}
body:has(#fm-pro-home) .easy-grid > .fm2-item:nth-child(1),
body:has(#fm-pro-home) .easy-grid > .fm2-item:nth-child(2),
body:has(#fm-pro-home) .easy-grid > .fm2-item:nth-child(8){
  display:none!important;
}
body:has(#fm-pro-home) .easy-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
body:has(#fm-pro-home) .easy-grid .fm2-item{
  grid-column:auto!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  min-height:82px;
  padding:8px!important;
  gap:5px!important;
}
body:has(#fm-pro-home) .easy-grid small{
  display:none!important;
}
body:has(#fm-pro-home) .easy-grid strong{
  font-size:13px!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

/* COMPACT SERVICES PRO */
body:has(#fm-pro-home) .easy-grid > .fm2-item:nth-child(7){
  display:none!important;
}
body:has(#fm-pro-home) .easy-grid .fm2-item > svg:last-child{
  display:none!important;
}
body:has(#fm-pro-home) .easy-grid .fm2-item{
  min-height:76px!important;
  border-radius:14px!important;
  gap:7px!important;
}
body:has(#fm-pro-home) .easy-grid .fm2-copy{
  width:100%;
  text-align:center;
}
body:has(#fm-pro-home) .easy-grid .fm2-item strong{
  font-size:13px!important;
  line-height:1.2!important;
}

/* ADDITIONAL TOOLS */
#fm-pro-home .fm-pro-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
#fm-pro-home .fm-pro-grid button{
  min-height:48px!important;
  font-size:12px!important;
  padding:6px!important;
}

/* FOOTBALL HUB — NO DUPLICATES */
#fm-pro-home .fm-pro-grid > button:first-child{
  display:none!important;
}
#fm-pro-home .fm-pro-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
