/* GET.NEXDO per-app detail layout: artwork on the LEFT, content on the RIGHT.
   Artwork is specific to each application, never a generic UI illustration. */
html[data-theme] .detail-hero{
 display:grid!important;
 grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr)!important;
 align-items:center!important;
 gap:clamp(24px,4vw,64px)!important;
}
html[data-theme] .detail-hero>.nexdo-app-detail-art{grid-column:1!important;grid-row:1!important;min-width:0!important;order:0!important}
html[data-theme] .detail-hero>.nexdo-app-detail-art+div{grid-column:2!important;grid-row:1!important;min-width:0!important;order:1!important}
html[data-theme] .detail-media.nexdo-app-detail-art{
 display:flex!important;align-items:center!important;justify-content:center!important;
 min-height:280px!important;padding:30px!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
}
html[data-theme] .detail-media.nexdo-app-detail-art img{
 width:100%!important;height:auto!important;
 max-width:300px!important;max-height:300px!important;aspect-ratio:1!important;
 object-fit:contain!important;object-position:center!important;
 background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 filter:none!important;
}
html[data-theme] .detail-media.nexdo-app-detail-art small{display:none!important}
html[data-theme] .v-detail{
 grid-template-columns:minmax(170px,.75fr) minmax(0,1.25fr)!important;
 align-items:center!important;
}
html[data-theme] .v-detail>.v-detail-image{grid-column:1!important;grid-row:1!important;min-width:0!important;min-height:230px!important;box-shadow:none!important;background:transparent!important;border:0!important}
html[data-theme] .v-detail>.v-detail-image+div{grid-column:2!important;grid-row:1!important;min-width:0!important}
html[data-theme] .v-detail .v-detail-image img{display:block!important;object-fit:contain!important;object-position:center!important;max-height:240px!important;max-width:90%!important;width:auto!important;height:auto!important}
html[dir="rtl"][data-theme] .detail-hero>.nexdo-app-detail-art,
html[dir="rtl"][data-theme] .v-detail>.v-detail-image{grid-column:1!important}
@media(max-width:760px){
 html[data-theme] .detail-hero,html[data-theme] .v-detail{grid-template-columns:1fr!important;gap:16px!important}
 html[data-theme] .detail-hero>.nexdo-app-detail-art,html[data-theme] .v-detail>.v-detail-image{grid-column:1!important;grid-row:1!important}
 html[data-theme] .detail-hero>.nexdo-app-detail-art+div,html[data-theme] .v-detail>.v-detail-image+div{grid-column:1!important;grid-row:2!important}
 html[data-theme] .detail-media.nexdo-app-detail-art{min-height:165px!important;padding:12px!important}
 html[data-theme] .detail-media.nexdo-app-detail-art img{max-width:175px!important;max-height:175px!important}
 html[data-theme] .v-detail>.v-detail-image{min-height:150px!important}
 html[data-theme] .v-detail .v-detail-image img{max-width:160px!important;max-height:160px!important}
}

/* Platform/store download badges sit directly below the actual app artwork.
   Keep the image first and preserve the information column unobstructed. */
html[data-theme] .detail-hero>.detail-media.nexdo-download-below-art,
html[data-theme] .v-detail>.v-detail-image.nexdo-download-below-art{
 display:flex!important;flex-direction:column!important;
 align-items:center!important;justify-content:flex-start!important;
 gap:14px!important;
 width:100%!important;min-width:0!important;
 padding:15px 0!important;height:auto!important;max-height:none!important;
 overflow:visible!important;
}
html[data-theme] .detail-hero>.detail-media.nexdo-download-below-art>img,
html[data-theme] .v-detail>.v-detail-image.nexdo-download-below-art>img{
 display:block!important;width:auto!important;
 max-width:min(100%,270px)!important;max-height:270px!important;
 height:auto!important;object-fit:contain!important;
 margin:0 auto!important;flex:none!important;
}
html[data-theme] .detail-hero .nexdo-download-below-art .nexdo-platform-grid,
html[data-theme] .v-detail .nexdo-download-below-art .nexdo-platform-grid{
 order:2!important;flex:none!important;
 display:grid!important;gap:9px!important;
 width:100%!important;max-width:460px!important;
 margin:0 auto!important;
 align-items:center!important;
}
html[data-theme] .detail-hero .nexdo-download-below-art .nexdo-platform-grid[data-count="1"],
html[data-theme] .v-detail .nexdo-download-below-art .nexdo-platform-grid[data-count="1"]{
 grid-template-columns:minmax(0,1fr)!important;max-width:210px!important;
}
html[data-theme] .detail-hero .nexdo-download-below-art .nexdo-platform-grid[data-count="2"],
html[data-theme] .v-detail .nexdo-download-below-art .nexdo-platform-grid[data-count="2"],
html[data-theme] .detail-hero .nexdo-download-below-art .nexdo-platform-grid[data-count="4"],
html[data-theme] .v-detail .nexdo-download-below-art .nexdo-platform-grid[data-count="4"]{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
html[data-theme] .detail-hero .nexdo-download-below-art .nexdo-platform-grid[data-count="3"],
html[data-theme] .v-detail .nexdo-download-below-art .nexdo-platform-grid[data-count="3"]{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
html[data-theme] .nexdo-download-below-art .nexdo-platform-download{
 width:100%!important;min-width:0!important;
}
html[data-theme] .nexdo-download-below-art .nexdo-platform-note{
 order:3!important;text-align:center!important;
 margin:0 auto!important;max-width:420px!important;
}
html[data-theme] .v-detail>.v-detail-image.nexdo-download-below-art{
 min-height:0!important;
}
html[data-theme] .v-detail>.v-detail-image.nexdo-download-below-art img.nexdo-official-badge-img{
 width:100%!important;max-width:200px!important;
 max-height:56px!important;height:56px!important;
 object-fit:contain!important;
}
@media(max-width:760px){
 html[data-theme] .detail-hero>.detail-media.nexdo-download-below-art,
 html[data-theme] .v-detail>.v-detail-image.nexdo-download-below-art{
  padding:10px 0 15px!important;gap:12px!important;
 }
 html[data-theme] .detail-hero>.detail-media.nexdo-download-below-art>img,
 html[data-theme] .v-detail>.v-detail-image.nexdo-download-below-art>img{
  max-width:min(65vw,210px)!important;max-height:210px!important;
 }
 html[data-theme] .detail-hero .nexdo-download-below-art .nexdo-platform-grid,
 html[data-theme] .v-detail .nexdo-download-below-art .nexdo-platform-grid{
  max-width:min(100%,460px)!important;
 }
 html[data-theme] .detail-hero .nexdo-download-below-art .nexdo-platform-grid[data-count="3"],
 html[data-theme] .v-detail .nexdo-download-below-art .nexdo-platform-grid[data-count="3"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}

/* Adaptive placement: 1–2 platform actions directly under the image;
   3+ sit immediately below descriptive copy in the text column. */
html[data-theme] :is(.detail-hero,.v-detail) .nexdo-platform-grid.nexdo-download-after-description{
 display:grid!important;
 position:relative!important;
 grid-column:auto!important;grid-row:auto!important;
 width:100%!important;max-width:min(100%,650px)!important;
 margin:22px 0 10px!important;
 padding:0!important;gap:10px!important;
 align-items:stretch!important;justify-items:stretch!important;
 clear:both!important;float:none!important;
 overflow:visible!important;
}
html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description[data-count="3"]{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description[data-count="4"],
html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description[data-count="5"]{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 max-width:450px!important;
}
html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description .nexdo-platform-download{
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:56px!important;min-height:56px!important;
 white-space:normal!important;box-sizing:border-box!important;
}
html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description .nexdo-official-badge-img{
 max-width:100%!important;height:52px!important;max-height:52px!important;
}
html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-below-art .nexdo-platform-grid[data-count="2"]{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 width:100%!important;max-width:min(100%,440px)!important;
}
@media(max-width:760px){
 html[data-theme] :is(.detail-hero,.v-detail) .nexdo-platform-grid.nexdo-download-after-description{
  margin:17px 0 8px!important;gap:8px!important;max-width:100%!important;
 }
 html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description[data-count="3"],
 html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description[data-count="4"],
 html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description[data-count="5"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:100%!important;
 }
 html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description .nexdo-platform-download{
  height:48px!important;min-height:48px!important;
 }
 html[data-theme] :is(.detail-hero,.v-detail) .nexdo-download-after-description .nexdo-official-badge-img{
  height:46px!important;max-height:46px!important;
 }
}
