/* LSD RADIO V454-R2 - PC / TV PANORAMICO */

@media (min-width:1024px){

  /* ---------- HOME ---------- */

  #page-home.active{
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:clamp(16px,1.5vw,26px);
    align-items:start;
  }

  #page-home>*{min-width:0}

  #page-home>.hero-card{
    grid-column:1/span 8;
    margin:0!important;
    min-height:clamp(330px,38vh,520px)!important;
  }

  #page-home>.visuals-home-card{
    grid-column:9/-1;
    margin:0!important;
    min-height:clamp(330px,38vh,520px)!important;
    height:100%;
  }

  #page-home>.station-grid{
    grid-column:1/-1;
    width:100%;
    margin:0!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:clamp(12px,1.2vw,20px)!important;
  }

  #page-home>.section-heading,
  #page-home>.store-heading{
    grid-column:1/-1;
    width:100%;
    margin:12px 0 0!important;
  }

  #page-home>.events-rail,
  #page-home>.store-rail{
    grid-column:1/-1;
    width:100%;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:clamp(12px,1.2vw,20px)!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    padding-bottom:0!important;
  }

  #page-home .event-card,
  #page-home .store-card{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }


  /* ---------- RADIO ---------- */

  #page-radio.active{
    display:block!important;
  }

  #page-radio .radio-title-row{
    margin-bottom:18px;
  }

  #page-radio .radio-mode-tabs{
    width:min(100%,760px);
    margin:0 auto 24px;
  }

  #audioRadioPanel:not(.hidden){
    display:grid!important;
    grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr);
    gap:clamp(18px,2.8vw,48px);
    align-items:center;
    width:100%;
  }

  #audioRadioPanel .radio-artwork{
    grid-column:1;
    grid-row:1/8;
    width:min(100%,560px);
    justify-self:center;
    align-self:center;
  }

  #audioRadioPanel .station-selector,
  #audioRadioPanel .now-playing,
  #audioRadioPanel .player-controls,
  #audioRadioPanel .radio-actions,
  #audioRadioPanel .signal-status{
    grid-column:2;
    min-width:0;
  }

  #audioRadioPanel .player-controls,
  #audioRadioPanel .radio-actions{
    width:min(100%,760px);
  }

  #visualsPanel:not(.hidden){
    width:100%!important;
    height:min(72dvh,860px)!important;
    min-height:600px!important;
    border-radius:28px;
    overflow:hidden;
  }

  #visualsPanel:not(.hidden) canvas{
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
  }

  #page-radio .visuals-controls{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    left:22px!important;
    right:22px!important;
  }

  #page-radio .visuals-actions{
    left:22px!important;
    right:22px!important;
  }


  /* ---------- JUEGOS ---------- */

  #page-games.active{
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:clamp(16px,1.5vw,26px);
    align-items:start;
  }

  #page-games>*{min-width:0}

  #page-games>.gamer-profile,
  #page-games>.section-heading,
  #page-games>.game-grid,
  #page-games>.ranking-card{
    grid-column:1/-1;
  }

  #page-games>.game-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:clamp(14px,1.3vw,22px)!important;
  }

  #page-games>.dashboard-grid{
    grid-column:1/span 7;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
  }

  #page-games>.missions-card{
    grid-column:8/-1;
    height:100%;
  }

  #page-games .game-card{
    min-width:0;
    min-height:clamp(180px,17vw,280px);
  }


  /* ---------- COMUNIDAD / YOUTUBE ---------- */

  #page-community.active{
    display:grid!important;
    grid-template-columns:minmax(0,1.45fr) minmax(350px,.55fr);
    gap:clamp(18px,2vw,32px);
    align-items:start;
  }

  #page-community>*{min-width:0}

  #page-community>.section-heading,
  #page-community>.community-heading,
  #page-community>.lsd-youtube-community-heading{
    grid-column:1/-1;
  }

  #page-community>.live-stream-card{
    grid-column:1;
    margin:0!important;
    width:100%!important;
  }

  #page-community>.chat-card{
    grid-column:2;
    margin:0!important;
    width:100%;
    height:100%;
  }

  #page-community .stream-visual{
    width:100%!important;
    aspect-ratio:16/9!important;
  }

  #page-community #youtubeLiveFrame{
    width:100%!important;
    height:100%!important;
  }

  #page-community .messages-list{
    height:clamp(390px,48dvh,680px)!important;
  }

  #page-community>.social-grid{
    grid-column:1/-1;
    width:100%;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:16px;
  }


  /* ---------- PERFIL ---------- */

  #page-profile.active{
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:clamp(16px,1.5vw,26px);
    align-items:start;
  }

  #page-profile>*{min-width:0}

  #page-profile>.profile-cover{
    grid-column:1/-1;
    min-height:clamp(270px,28vh,410px);
    padding:clamp(28px,3vw,52px) clamp(30px,4vw,64px)!important;
  }

  #page-profile .profile-avatar.professional{
    width:clamp(110px,8vw,150px);
    height:clamp(110px,8vw,150px);
    flex-basis:clamp(110px,8vw,150px);
  }

  #page-profile .profile-identity h1{
    font-size:clamp(30px,2.3vw,46px);
  }

  #page-profile>.professional-stats{
    grid-column:1/-1;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }

  #page-profile>.profile-progress-card{
    grid-column:1/span 4;
    margin:0!important;
    height:100%;
  }

  #page-profile>.profile-arcade-card{
    grid-column:5/-1;
    margin:0!important;
    height:100%;
  }

  #page-profile>.profile-section-title{
    grid-column:1/-1;
    width:100%;
    margin:12px 0 0!important;
  }

  #page-profile>.profile-menu{
    grid-column:1/span 4;
    margin:0!important;
  }

  #page-profile>.profile-timeline{
    grid-column:5/span 4;
    margin:0!important;
  }

  #page-profile>.profile-orders{
    grid-column:9/-1;
    margin:0!important;
  }

  #page-profile>.profile-settings{
    grid-column:1/span 7;
    margin:0!important;
  }

  #page-profile>.account-menu,
  #page-profile>.privacy-card{
    grid-column:8/-1;
    margin:0!important;
  }


  /* ---------- FOCO TV ---------- */

  body.lsd-tv-nav .station-card:focus-within,
  body.lsd-tv-nav .game-card:focus-within,
  body.lsd-tv-nav .event-card:focus-within,
  body.lsd-tv-nav .store-card:focus-within,
  body.lsd-tv-nav .glass-card:focus-within{
    position:relative;
    z-index:10;
  }
}


/* ---------- TV 1080 / MONITOR GRANDE ---------- */

@media (min-width:1440px){

  #page-home>.events-rail,
  #page-home>.store-rail{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  #page-games>.game-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  #page-community.active{
    grid-template-columns:minmax(0,1.5fr) minmax(400px,.5fr);
  }
}


/* ---------- TV 4K / ULTRAWIDE ---------- */

@media (min-width:1920px){

  #page-home.active,
  #page-games.active,
  #page-profile.active{
    gap:28px;
  }

  #page-home>.hero-card,
  #page-home>.visuals-home-card{
    min-height:clamp(430px,40vh,630px)!important;
  }

  #page-home>.events-rail,
  #page-home>.store-rail{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }

  #page-games>.game-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }

  #page-community.active{
    grid-template-columns:minmax(0,1.58fr) minmax(460px,.42fr);
    gap:32px;
  }

  #page-community .messages-list{
    height:clamp(520px,52dvh,820px)!important;
  }

  #page-profile>.profile-cover{
    min-height:420px;
  }
}


/* ---------- LANDSCAPE BAJO ---------- */

@media (min-width:1024px) and (max-height:720px){

  #page-home>.hero-card,
  #page-home>.visuals-home-card{
    min-height:300px!important;
  }

  #visualsPanel:not(.hidden){
    min-height:calc(100dvh - 150px)!important;
    height:calc(100dvh - 150px)!important;
  }

  #page-community .messages-list{
    height:370px!important;
  }
}
