/* Loaded last: compact navigation on phones and tablets; desktop is unchanged. */
.mobile-nav-toggle,.mobile-nav-backdrop,.mobile-nav-social{display:none}
@media(max-width:1100px){
  body.mobile-nav-ready{--mobile-header-height:calc(64px + env(safe-area-inset-top,0px))}
  body.mobile-nav-ready header.compact-header:is(.site-header,.radio-header,.gastro-header,.programa-header){
    display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;
    height:var(--mobile-header-height);min-height:0;gap:10px;
    padding:calc(6px + env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) 6px max(14px,env(safe-area-inset-left,0px));
    z-index:80;border-radius:0;overflow:visible;background:linear-gradient(#032643f5,#03314be8);
  }
  body.mobile-nav-ready .site-header{position:fixed}
  body.mobile-nav-ready :is(.radio-header,.gastro-header,.programa-header){position:sticky;top:0}
  body.mobile-nav-ready header .brand-social-group{display:flex;order:0;flex:none;gap:0;margin-right:auto}
  body.mobile-nav-ready header :is(.original-brand,.radio-brand,.gastro-brand,.programa-brand){
    width:64px;min-width:64px;height:46px;margin:0;order:0;flex:none;
  }
  body.mobile-nav-ready header :is(.original-brand,.radio-brand,.gastro-brand,.programa-brand) img{width:100%;height:100%;object-fit:contain}
  body.mobile-nav-ready header .brand-social-group>.festival-social,body.mobile-nav-ready header .place-badge{display:none}
  body.mobile-nav-ready header .home-music{order:1;margin-left:auto;flex:none}
  body.mobile-nav-ready header .home-music-toggle{min-width:102px;min-height:44px;padding:10px 12px;font-size:11px;gap:7px;backdrop-filter:none}
  body.mobile-nav-ready .mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;order:2;flex:none;min-height:44px;min-width:82px;padding:10px 12px;border:1px solid #a5fff270;border-radius:24px;background:#b9fff014;color:#effffb;font:600 12px 'DM Sans',Arial,sans-serif}
  .mobile-nav-icon{width:16px;height:12px;border-top:1.5px solid currentColor;border-bottom:1.5px solid currentColor;position:relative}
  .mobile-nav-icon:before{content:'';position:absolute;left:0;right:0;top:4px;border-top:1.5px solid currentColor}
  body.mobile-nav-ready header :is(.site-links,nav[aria-label="Navegación principal"]){display:none}
  body.mobile-nav-ready.mobile-nav-open header :is(.site-links,nav[aria-label="Navegación principal"]){
    display:grid;position:absolute;inset:calc(100% + 6px) 12px auto;width:auto;max-width:none;margin:0;padding:10px;
    grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-items:stretch;
    max-height:calc(100svh - var(--mobile-header-height) - 24px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;
    border:1px solid #a5fff268;border-radius:20px;background:#07374bf7;box-shadow:0 14px 40px #00162688;backdrop-filter:none;
  }
  body.mobile-nav-ready.mobile-nav-open header nav>a,body.mobile-nav-ready.mobile-nav-open header nav>button{min-height:48px;padding:12px 8px;font-size:12px;letter-spacing:.25px;white-space:normal;border-radius:12px}
  body.mobile-nav-ready.mobile-nav-open header nav>.nav-ticket-link{grid-column:1/-1}
  body.mobile-nav-open .mobile-nav-backdrop{display:block;position:fixed;inset:var(--mobile-header-height) 0 0;z-index:79;background:#001b2b66;touch-action:none}
  body.mobile-nav-open .mobile-nav-social{display:flex;grid-column:1/-1;justify-content:center;gap:20px;padding-top:6px}
  .mobile-nav-social a{display:grid;place-items:center;width:44px;height:44px}
  .mobile-nav-social svg{width:23px;height:23px}
  body.mobile-nav-ready .screen,body.mobile-nav-ready .screen.hero{padding-top:calc(var(--mobile-header-height) + 16px)}
}
@media(max-width:700px){
  body.mobile-nav-ready .artist-screen{justify-content:flex-start;padding-bottom:88px;gap:0}
  body.mobile-nav-ready .artist-visual.reveal,body.mobile-nav-ready .screen.is-active .artist-visual.reveal{flex:none;margin:0 0 14px;transform:none}
  body.mobile-nav-ready .artist-photo,body.mobile-nav-ready .artist-visual.poster .artist-photo{height:clamp(140px,25svh,240px);max-height:none;object-fit:contain}
  body.mobile-nav-ready .artist-copy{flex:1;min-height:0;width:100%;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:0 3px 8px 0;scrollbar-width:thin}
  body.mobile-nav-ready .scene-dock{height:50px;bottom:max(12px,env(safe-area-inset-bottom));max-width:calc(100vw - 38px);gap:8px}
  body.mobile-nav-ready .scene-readout{width:min(195px,calc(100vw - 160px))}
  body.mobile-nav-ready .intro-shell{height:auto;max-width:none;top:43%;width:96vw}
}
@media(prefers-reduced-motion:reduce){.mobile-nav-toggle,.mobile-nav-backdrop{transition:none}}
