
/* SONIQ V19 SQUARE LAYOUT V2 */
/* VISUAL ONLY — DSP, EFFECT VALUES AND AUDIO UNCHANGED */

.top-section{
 display:grid !important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:10px !important;
 height:auto !important;
 min-height:0 !important;
 align-items:stretch !important;
 overflow:visible !important;
}

.display-zone{
 position:relative !important;
 display:block !important;
 width:100% !important;
 height:auto !important;
 min-height:0 !important;
 min-width:0 !important;
 aspect-ratio:1/1 !important;
 overflow:visible !important;
}

.display-outer{
 position:relative !important;
 width:100% !important;
 height:100% !important;
 min-width:0 !important;
 min-height:0 !important;
 max-width:none !important;
 max-height:none !important;
 aspect-ratio:1/1 !important;
 border-radius:22px !important;
 box-sizing:border-box !important;
 overflow:hidden !important;
}

.display-ring{
 position:relative !important;
 width:100% !important;
 height:100% !important;
 min-width:0 !important;
 min-height:0 !important;
 max-width:none !important;
 max-height:none !important;
 border-radius:19px !important;
 box-sizing:border-box !important;
 overflow:hidden !important;
}

.display-core{
 position:relative !important;
 width:100% !important;
 height:100% !important;
 min-width:0 !important;
 min-height:0 !important;
 max-width:none !important;
 max-height:none !important;
 border-radius:16px !important;
 box-sizing:border-box !important;
 overflow:hidden !important;
}

.display-glow,
.display-grid,
.display-scan{
 border-radius:inherit !important;
}

.display-core #scope{
 border-radius:12px !important;
}

.action-grid{
 display:grid !important;
 grid-template-columns:repeat(2,minmax(0,1fr)) !important;
 grid-template-rows:repeat(3,minmax(0,1fr)) !important;
 height:auto !important;
 min-height:0 !important;
 align-self:stretch !important;
}

.upload-line{
 position:relative !important;
 clear:both !important;
 margin-top:14px !important;
 transform:none !important;
 top:auto !important;
}

.upload-line .upload{
 position:relative !important;
 top:auto !important;
 transform:none !important;
}

/* Keep the original controls usable on small phones. */
@media(max-width:600px){
 .top-section{
  gap:8px !important;
 }
 .display-outer{
  border-radius:16px !important;
 }
 .display-ring{
  border-radius:14px !important;
 }
 .display-core{
  border-radius:12px !important;
 }
 .upload-line{
  margin-top:12px !important;
 }
}

/* Keep the original layout responsive on wider screens. */
@media(min-width:900px){
 .top-section{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 }
 .display-zone{
  width:100% !important;
 }
}
