/* POL.FAN / M5 FIRMA — mobile PREMIUM layout correction 2026-11-28.
 * Homepage-only; works after NEON premium and graphic banner V4 or newer.
 * All clickable actions remain present and keyboard-accessible. */
@media (max-width: 760px) {
  html body .m5f-wrap.m5hero-neon {width:100%;max-width:100%;min-width:0;margin:10px auto 28px;padding:0 12px;box-sizing:border-box;overflow-x:clip}
  html body .m5f-wrap.m5hero-neon .m5f-hero:not(.m5hero-artwork-failed-v3){display:block!important;position:relative!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 12px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:hidden!important;border-radius:14px!important}
  html body .m5f-wrap.m5hero-neon .m5f-hero:not(.m5hero-artwork-failed-v3) > div{display:none!important}
  html body .m5f-wrap.m5hero-neon .m5f-hero:not(.m5hero-artwork-failed-v3) > img.m5hero-artwork-img-v3{display:block!important;position:relative!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;vertical-align:middle!important;border-radius:14px!important}
  html body .m5f-wrap.m5hero-neon .m5f-hero:not(.m5hero-artwork-failed-v3) > a.m5f-button{display:block!important;position:absolute!important;z-index:6!important;inset:0 0 0 auto!important;width:24%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;opacity:1!important;color:transparent!important;font-size:0!important;line-height:0!important;overflow:hidden!important;text-decoration:none!important}
  html body .m5f-wrap.m5hero-neon .m5f-hero:not(.m5hero-artwork-failed-v3) > a.m5f-button:focus-visible{outline:2px solid #fff!important;outline-offset:-3px!important;box-shadow:inset 0 0 0 3px #8f34e3!important}
  html body .m5f-wrap.m5hero-neon .m5f-user-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 12px!important;padding:0!important;border:0!important}
  html body .m5f-wrap.m5hero-neon .m5f-user-tabs a{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:43px!important;padding:10px 6px!important;border-radius:12px!important;font-size:12px!important;line-height:1.25!important;letter-spacing:0!important;white-space:normal!important;text-align:center!important}
  html body .m5f-wrap.m5hero-neon .m5f-search{padding:12px!important;border-radius:14px!important;margin:0 0 12px!important;box-shadow:0 4px 14px #2c126010!important}
  html body .m5f-wrap.m5hero-neon .m5f-search input[type="search"]{width:100%!important;min-height:44px!important;height:44px!important;margin:0 0 10px!important;padding:10px 12px!important;font-size:14px!important;border-radius:10px!important;box-sizing:border-box!important}
  html body .m5f-wrap.m5hero-neon .m5f-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;align-items:end!important}
  html body .m5f-wrap.m5hero-neon .m5f-filters label{min-width:0!important;width:100%!important;margin:0!important;gap:5px!important;font-size:12px!important;line-height:1.3!important}
  html body .m5f-wrap.m5hero-neon .m5f-filters select{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;height:44px!important;padding:8px 26px 8px 10px!important;font-size:13px!important;border-radius:10px!important;box-sizing:border-box!important;color:#30215a!important;background-color:#fff!important}
  html body .m5f-wrap.m5hero-neon .m5f-filters label:nth-child(3){grid-column:1/-1!important}
  html body .m5f-wrap.m5hero-neon .m5f-filters > button.m5f-button{grid-column:1/-1!important;width:100%!important;min-height:44px!important;margin:1px 0 0!important;padding:10px!important;border:0!important;border-radius:11px!important;background:linear-gradient(110deg,#bf28ec,#6b34db)!important;color:#fff!important;font-size:14px!important;line-height:1.2!important;box-shadow:none!important}
  html body .m5f-wrap.m5hero-neon .m5f-category-shortcuts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:12px 0 16px!important}
  html body .m5f-wrap.m5hero-neon .m5f-category-shortcut{min-height:66px!important;min-width:0!important;padding:8px 4px!important;gap:5px!important;font-size:11px!important;border-radius:12px!important}
  html body .m5f-wrap.m5hero-neon .m5f-category-shortcut span{width:28px!important;height:28px!important;font-size:17px!important;color:#7425cc!important;background:#f1e7ff!important}
  html body .m5f-wrap.m5hero-neon .m5f-category-shortcut b{font-size:11px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
  html body .m5f-wrap.m5hero-neon .m5f-section{margin:16px 0!important}
  html body .m5f-wrap.m5hero-neon .m5f-section-title h2{font-size:18px!important}
  html body .m5f-wrap.m5hero-neon .m5f-section-title span{font-size:11px!important}
}
@media (max-width: 350px) {
 html body .m5f-wrap.m5hero-neon .m5f-filters{grid-template-columns:minmax(0,1fr)!important}
 html body .m5f-wrap.m5hero-neon .m5f-filters label:nth-child(3),html body .m5f-wrap.m5hero-neon .m5f-filters > button.m5f-button{grid-column:1!important}
}
/* Art missing: leave the original text/CTA fallback functional and readable. */
@media (max-width:760px){html body .m5f-wrap.m5hero-neon .m5f-hero.m5hero-artwork-failed-v3{min-height:0!important;display:flex!important;flex-wrap:wrap!important;padding:16px!important}html body .m5f-wrap.m5hero-neon .m5f-hero.m5hero-artwork-failed-v3 > div{display:block!important}html body .m5f-wrap.m5hero-neon .m5f-hero.m5hero-artwork-failed-v3 > a.m5f-button{position:relative!important;opacity:1!important;color:#fff!important;font-size:13px!important;background:#8337da!important}}
