/* VCORE Arcade v4.3 — compact iPhone presentation layer.
   Intentionally site-only: no selectors or scripts applied to /games/ engines. */
.arcade-mobile-menu{display:none}
@media(max-width:850px){
  .premium-v4 .site-header{position:sticky;top:0;z-index:29;overflow:visible;background:rgba(11,7,18,.96)}
  .premium-v4 .header-inner{min-height:62px!important;height:62px;padding-top:6px!important;padding-bottom:6px!important;display:flex;flex-wrap:nowrap!important;align-items:center;gap:10px}
  .premium-v4 .brand{min-width:0;flex:1 1 auto;margin:0;gap:9px}
  .premium-v4 .brand img{width:43px!important;height:43px!important;flex:0 0 43px}
  .premium-v4 .brand b{font-size:14px;letter-spacing:.03em;white-space:nowrap}
  .premium-v4 .brand small{font-size:8px;line-height:1.15;margin-top:2px;letter-spacing:.035em;display:block;white-space:nowrap}
  .premium-v4 .header-studio-link{display:none!important}
  .premium-v4 .arcade-mobile-menu{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:72px;min-height:44px;margin-left:auto;border:1px solid rgba(210,139,250,.40);border-radius:12px;background:linear-gradient(120deg,#251636,#1b1127);color:#f7ebff;padding:9px 12px;font-size:12px;font-weight:780;cursor:pointer}
  .premium-v4 .arcade-mobile-menu::after{content:'☰';font-size:19px;font-weight:450;line-height:1}
  .premium-v4 .arcade-mobile-menu[aria-expanded="true"]::after{content:'×';font-size:24px}
  .premium-v4 .premium-nav{display:none!important;position:absolute;top:calc(100% - 1px);left:0;right:0;margin:0!important;padding:9px max(14px,calc((100vw - 1260px)/2)) 16px!important;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(196,120,253,.36);border-radius:0 0 15px 15px;background:rgba(15,9,25,.99);box-shadow:0 22px 48px rgba(0,0,0,.50);width:100%;flex:unset!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;z-index:45}
  .premium-v4 .premium-nav.is-open{display:grid!important}
  .premium-v4 .premium-nav a{display:flex;align-items:center;min-height:46px;padding:12px!important;justify-content:center;background:rgba(122,44,255,.055);border-radius:10px;font-size:12px!important;text-align:center}
  .premium-v4 .premium-nav a:last-child{grid-column:span 2}
  .premium-v4 .premium-nav a:focus-visible,.premium-v4 .arcade-mobile-menu:focus-visible{outline:2px solid #d9a7ff;outline-offset:2px}
  .premium-v4 :is(#most-played,#your-arcade,#new-arrivals,#games,#how-to-play,#favourites){scroll-margin-top:80px}
  .premium-v4 input[type=search]{font-size:16px!important}
}
@media(max-width:660px){
  /* Most Played: smaller controls and legible title. Preserve tracker and storage. */
  .premium-v4 .most-played{margin-top:14px;padding:17px 13px 14px}
  .premium-v4 .most-played-heading{align-items:center;gap:8px}
  .premium-v4 .most-played-heading h2{font-size:19px;line-height:1.18;margin:5px 0 10px}
  .premium-v4 .most-played-heading h2 span{display:block;color:#cab6d8!important;font-size:11px;font-weight:500;letter-spacing:0;margin-top:4px}
  .premium-v4 .most-played-kicker{font-size:9px;letter-spacing:.10em}
  .premium-v4 .most-played-controls{gap:3px;align-self:flex-start;margin-top:9px}
  .premium-v4 .most-played-controls button{width:32px!important;min-width:32px!important;height:34px!important;min-height:34px;border-radius:9px;font-size:17px}
  .premium-v4 .mp-game{min-height:87px;padding:9px 10px}
  .premium-v4 .mp-game img{height:62px;width:82px}
  .premium-v4 .mp-rank{font-size:16px;width:24px}
  .premium-v4 .mp-play{font-size:9px;padding:7px 5px}
  .premium-v4 .mp-footer{line-height:1.45;gap:5px}
  /* Catalogue uses image-led compact two-column cards instead of ten tall stacks. */
  .premium-v4 .arcade-games-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .premium-v4 .arcade-catalogue .arcade-game-card.premium-world-card{
    display:grid!important;grid-template-columns:minmax(0,39%) minmax(0,61%);grid-template-rows:35px minmax(155px,auto);align-items:stretch;border-radius:15px;overflow:hidden;min-height:0
  }
  .premium-v4 .arcade-catalogue .premium-world-card .feature-top{
    grid-column:1/-1;grid-row:1;display:flex;min-height:35px!important;height:35px;padding:0 11px!important;gap:5px!important;font-size:9px!important;line-height:1;letter-spacing:.03em
  }
  .premium-v4 .arcade-catalogue .feature-meta{font-size:9px!important;padding:5px 8px!important;white-space:nowrap}
  .premium-v4 .arcade-catalogue .premium-card-category{font-size:10px;letter-spacing:.02em;max-width:55%;text-overflow:ellipsis}
  .premium-v4 .arcade-catalogue .arcade-game-preview{
    grid-column:1;grid-row:2;width:100%;height:100%;min-height:155px!important;aspect-ratio:auto!important;overflow:hidden
  }
  .premium-v4 .arcade-catalogue .arcade-game-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
  .premium-v4 .arcade-catalogue .arcade-game-info{grid-column:2;grid-row:2;min-width:0;padding:13px 11px!important;display:flex;flex-direction:column;justify-content:space-between;gap:6px}
  .premium-v4 .arcade-catalogue .arcade-game-info h3{font-size:clamp(17px,4.3vw,21px)!important;line-height:1.12;margin:0!important}
  .premium-v4 .arcade-catalogue .arcade-game-info p{font-size:11px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0!important;margin:0!important;color:#bdaecb}
  .premium-v4 .arcade-catalogue .arcade-game-tags{display:none}
  .premium-v4 .arcade-catalogue .arcade-card-play{min-height:40px!important;padding:8px 10px!important;font-size:11px;line-height:1.2;justify-content:center;gap:4px;border-radius:9px;margin:4px 0 0!important;white-space:normal}
  .premium-v4 .arcade-catalogue .premium-explore-link{margin:0!important;align-self:flex-start;font-size:11px;line-height:1.45;padding:4px 0}
  .premium-v4 .arcade-catalogue .arcade-preview-pill,.premium-v4 .arcade-catalogue .premium-art-label,.premium-v4 .arcade-catalogue .premium-art-index{display:none}
  .premium-v4 .arcade-catalogue .premium-favourite-toggle{top:40px!important;left:calc(39% - 45px);right:auto!important;width:39px;height:39px;min-width:39px;min-height:39px;border-radius:10px;font-size:21px}
  .premium-v4 .premium-world-card:hover{transform:none}
}
@media(max-width:360px){
  .premium-v4 .brand small{display:none!important}
  .premium-v4 .arcade-catalogue .arcade-game-card.premium-world-card{grid-template-columns:minmax(0,38%) minmax(0,62%);grid-template-rows:35px minmax(156px,auto)}
  .premium-v4 .arcade-catalogue .premium-favourite-toggle{left:calc(38% - 44px)}
  .premium-v4 .arcade-catalogue .arcade-game-info{padding:10px 9px!important}
  .premium-v4 .arcade-catalogue .arcade-card-play{min-height:38px!important;font-size:10px}
  .premium-v4 .arcade-catalogue .feature-meta{font-size:8px!important;padding:4px 6px!important}
}
@media(prefers-reduced-motion:reduce){
  .premium-v4 .arcade-mobile-menu,.premium-v4 .premium-nav{transition:none!important;animation:none!important}
}
