
/* ELXVRO MOBILE V5 — activates on real phones/touch tablets, not scaled laptops */
.mobile-bottom-nav,.mobile-home-v5{display:none}

@media (max-width:700px), (max-width:900px) and (pointer:coarse) {
  html{scroll-padding-bottom:92px}
  body.site-body{overflow-x:hidden;background:#080611 !important}
  .desktop-home-v5{display:none !important}
  .mobile-home-v5{display:block !important;width:100%;max-width:560px;margin:0 auto;padding:14px 14px 110px}

  /* Header contains only brand + account action. The desktop nav is fully removed. */
  .site-header{
    position:sticky !important;top:0;z-index:1000;
    display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;
    gap:8px !important;min-height:60px !important;padding:9px 13px !important;
    background:rgba(8,6,17,.94) !important;border-bottom:1px solid rgba(220,180,255,.10) !important;
    backdrop-filter:blur(18px) !important
  }
  .site-header .main-nav,.site-header .header-search{display:none !important}
  .brand-lockup{min-width:0 !important;gap:9px !important}
  .brand-lockup img{width:38px !important;height:38px !important;border-radius:12px !important}
  .brand-lockup span{min-width:0 !important;overflow:hidden !important}
  .brand-lockup b{font-size:16px !important;letter-spacing:.12em !important;white-space:nowrap !important}
  .brand-lockup small{display:none !important}
  .header-actions{justify-self:end !important}
  .header-actions .glow-btn.compact{display:none !important}
  .header-actions .ghost-btn{padding:8px 10px !important;border-radius:11px !important;font-size:11px !important;white-space:nowrap !important}

  /* Real bottom navigation is outside the filtered header, so fixed positioning works correctly. */
  .mobile-bottom-nav{
    display:grid !important;position:fixed !important;z-index:1500 !important;
    left:8px;right:8px;bottom:calc(7px + env(safe-area-inset-bottom));
    grid-template-columns:repeat(5,1fr);gap:3px;padding:6px;
    border:1px solid rgba(219,179,255,.20);border-radius:21px;
    background:rgba(10,7,22,.95);box-shadow:0 18px 60px rgba(0,0,0,.62);backdrop-filter:blur(22px)
  }
  .mobile-bottom-nav a{min-width:0;min-height:51px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:14px;color:#a99eb6}
  .mobile-bottom-nav a span{font-size:17px;line-height:1;color:#c98aff}
  .mobile-bottom-nav a b{font-size:8px;font-weight:650;white-space:nowrap}
  .mobile-bottom-nav a.active{color:#fff;background:linear-gradient(180deg,rgba(147,61,255,.46),rgba(76,28,145,.34));box-shadow:inset 0 0 0 1px rgba(226,188,255,.10)}

  .aurora{opacity:.28 !important}
  .mh-kicker{margin:3px 0 7px;color:#ad6eff;font-size:9px;font-weight:800;letter-spacing:.16em}
  .mh-intro h1{margin:0;max-width:10ch;font:500 clamp(39px,11vw,52px)/.95 Georgia,serif;letter-spacing:-.04em;color:#fff}
  .mh-intro h1 span{color:#bd73ff}
  .mh-lead{margin:12px 0 0;max-width:34em;color:#afa5bb;font-size:12.5px;line-height:1.55}
  .mh-search{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:17px 0 13px;padding:5px 5px 5px 12px;border:1px solid rgba(216,174,255,.15);border-radius:16px;background:rgba(19,12,36,.78)}
  .mh-search>span{color:#b973ff;font-size:18px}.mh-search input{min-width:0;width:100%;height:38px;border:0;outline:0;background:transparent;color:#fff;font-size:13px}.mh-search input::placeholder{color:#776d84}.mh-search button{height:38px;padding:0 14px;border:0;border-radius:11px;background:linear-gradient(135deg,#9342ff,#6830d8);color:#fff;font-size:11px;font-weight:800}

  .mh-feature-wrap{margin-top:4px}
  .mh-feature{position:relative;display:block;aspect-ratio:16/10;min-height:220px;max-height:300px;overflow:hidden;border:1px solid rgba(224,188,255,.22);border-radius:22px;background:#100b20;box-shadow:0 18px 52px rgba(38,8,77,.34)}
  .mh-feature img{width:100%;height:100%;object-fit:cover}.mh-dim{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(4,2,9,.08),transparent 42%,rgba(5,3,10,.84))}
  .mh-top,.mh-bottom{position:absolute;left:12px;right:12px;z-index:2;display:flex;align-items:center;justify-content:space-between}.mh-top{top:12px}.mh-bottom{bottom:12px;align-items:flex-end}
  .mh-top b{padding:6px 8px;border:1px solid rgba(232,205,255,.22);border-radius:999px;background:rgba(10,7,20,.48);font-size:7.5px;letter-spacing:.11em}.mh-top small{font-size:8px;color:#dfd3e8;font-weight:700}
  .mh-bottom small{display:block;color:#c2b5ce;font-size:8.5px}.mh-bottom b{display:block;margin-top:2px;color:#fff;font:700 23px/1 Georgia,serif}.mh-bottom i{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#a64aff,#6430d1);color:#fff;font-style:normal;font-size:19px}

  .mh-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:9px;border:1px solid rgba(213,169,255,.12);border-radius:15px;overflow:hidden;background:rgba(16,10,30,.66)}
  .mh-stats div{padding:10px 6px;text-align:center;border-right:1px solid rgba(213,169,255,.09)}.mh-stats div:last-child{border-right:0}.mh-stats b{display:block;color:#fff;font-size:15px}.mh-stats small{display:block;margin-top:2px;color:#857b91;font-size:8px;text-transform:uppercase;letter-spacing:.07em}

  .mh-section{margin-top:25px}.mh-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:10px;gap:10px}.mh-head small{display:block;color:#9f62ef;font-size:8px;font-weight:800;letter-spacing:.15em}.mh-head h2{margin:2px 0 0;color:#fff;font:700 24px/1 Georgia,serif}.mh-head>a{padding:6px 9px;border:1px solid rgba(216,174,255,.12);border-radius:999px;color:#ae9abd;font-size:8.5px}

  .mh-cats{display:flex;gap:9px;overflow-x:auto;margin-right:-14px;padding-right:14px;padding-bottom:3px;scroll-snap-type:x mandatory;scrollbar-width:none}.mh-cats::-webkit-scrollbar{display:none}
  .mh-cat{position:relative;flex:0 0 128px;height:154px;overflow:hidden;border:1px solid rgba(216,174,255,.14);border-radius:17px;background:#120c22;scroll-snap-align:start}.mh-cat img{width:100%;height:100%;object-fit:cover}.mh-cat>span{position:absolute;inset:0;background:linear-gradient(to top,rgba(5,3,10,.94),transparent 60%)}.mh-cat b,.mh-cat small{position:absolute;z-index:2;left:10px;right:10px}.mh-cat b{bottom:23px;color:#fff;font-size:11px}.mh-cat small{bottom:9px;color:#9d91aa;font-size:7.5px}

  .mh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mh-wall{position:relative;aspect-ratio:9/14.5;overflow:hidden;border:1px solid rgba(216,174,255,.13);border-radius:17px;background:#100b1d}.mh-wall img{width:100%;height:100%;object-fit:cover}.mh-wall>span{position:absolute;inset:0;background:linear-gradient(to top,rgba(4,2,8,.88),transparent 48%)}.mh-wall b,.mh-wall small{position:absolute;z-index:2;left:9px;right:9px}.mh-wall b{bottom:21px;color:#fff;font-size:10px}.mh-wall small{bottom:8px;color:#a69aaa;font-size:7px}

  .mh-select{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-top:24px;padding:14px;border:1px solid rgba(216,174,255,.16);border-radius:18px;background:radial-gradient(circle at 100% 100%,rgba(160,68,255,.24),transparent 40%),linear-gradient(145deg,#1c0f38,#0d091a)}
  .mh-select>div{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#a64aff,#6030cf);color:#fff}.mh-select span small{display:block;color:#ad73e4;font-size:7px;letter-spacing:.12em}.mh-select span b{display:block;margin-top:2px;color:#fff;font-size:11px}.mh-select>a{padding:8px 9px;border-radius:10px;background:rgba(149,67,255,.17);color:#e5c9ff;font-size:9px;font-weight:800}

  /* Other pages: safe phone fallback */
  .page,.narrow-page{width:calc(100% - 22px) !important;max-width:560px !important;padding-top:14px !important;padding-bottom:108px !important}
  .detail-layout,.category-content,.auth-page,.profile-layout{grid-template-columns:1fr !important;gap:13px !important}
  .detail-panel,.filter-panel,.profile-sidebar{position:static !important}
  .wall-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:9px !important}
  .category-hero{grid-template-columns:1fr !important;padding:17px !important}.category-art{height:180px !important}
  .toolbar{overflow-x:auto;flex-wrap:nowrap !important;scrollbar-width:none}.toolbar::-webkit-scrollbar{display:none}.toolbar>*{flex:0 0 auto}
  .site-footer{width:calc(100% - 24px) !important;margin:18px auto 96px !important;padding:16px !important;flex-direction:column !important;gap:12px !important;text-align:center}.footer-links{justify-content:center !important;flex-wrap:wrap !important}
}
