/* SoulOne LIVE — stage-first, two full mobile screens. Last stylesheet wins. */
.sl-mobile-view-nav{display:none}
@media(max-width:1100px) and (pointer:coarse){
 html:not(.soulone-ipad-classic),html:not(.soulone-ipad-classic) body{width:100%;height:100dvh;overflow:hidden!important;overscroll-behavior:none}
 body>.app.soul-mobile-console{
  box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;
  height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;
  padding:max(4px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))!important;
  display:flex!important;flex-direction:column!important;gap:4px!important;
  background:#edf4fa;
 }
 .soul-mobile-console .cloud-toolbar{display:none!important}
 .soul-mobile-console .stage-header{flex:0 0 auto!important;box-sizing:border-box;min-width:0;min-height:0;
  margin:0!important;padding:5px 8px!important;gap:6px!important;box-shadow:none!important;border-radius:10px!important}
 .soul-mobile-console .stage-identity{min-width:0;gap:7px}
 .soul-mobile-console .stage-identity .brand{font-size:0;flex:0 0 auto;gap:2px}
 .soul-mobile-console .stage-identity .brand img{width:25px!important;height:25px!important;margin:0!important}
 .soul-mobile-console .stage-identity .brand .live{font-size:9px;letter-spacing:0;padding:3px 4px}
 .soul-mobile-console .stage-identity .song-head{min-width:0;padding-left:7px}
 .soul-mobile-console .stage-identity .song-head strong{max-width:none;font-size:14px;line-height:1.16;font-weight:800}
 .soul-mobile-console .stage-identity .song-head small{display:none}
 .soul-mobile-console .stage-center{min-width:0;margin:0;padding:0;gap:6px;border:0}
 .soul-mobile-console .stage-field{min-width:0;padding:0 2px;gap:1px}
 .soul-mobile-console .stage-field .field-label{font-size:8px;line-height:10px;letter-spacing:0}
 .soul-mobile-console .stage-field strong{font-size:16px}
 .soul-mobile-console .stage-field--bpm .value-row button,
 .soul-mobile-console .stage-field--pitch .ctl-group button{min-width:36px;width:36px;height:38px;font-size:17px;border-radius:8px}
 .soul-mobile-console .stage-field--pitch{min-width:0}
 .soul-mobile-console .stage-field--pitch .ctl-group .val{font-size:16px;min-width:20px}
 .soul-mobile-console .stage-field--key{min-width:25px}
 .soul-mobile-console .stage-field--bpm .live-original-tempo{display:none!important}
 .soul-mobile-console .stage-actions{min-width:0;gap:3px}
 .soul-mobile-console .stage-actions #status,.soul-mobile-console #fullscreenToggle{display:none!important}
 .soul-mobile-console .stage-actions .stage-more{min-width:38px;height:40px;font-size:19px}
 .soul-mobile-console .stage-footer-note,#fullscreenOffer{display:none!important}
 .sl-mobile-view-nav:not([hidden]){display:flex;flex:0 0 auto;align-items:center;gap:5px;min-width:0;padding:0 1px}
 .sl-mobile-view-button{height:40px;min-height:40px;min-width:0;padding:5px 11px;font-size:12px;line-height:15px;font-weight:850;border-radius:8px;border:1px solid #cbdce9;background:#fff;color:#3a5e78;box-shadow:none;white-space:nowrap}
 .sl-mobile-view-button.selected{background:#0b6fca;border-color:#0b6fca;color:#fff}
 .sl-mobile-audio-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0;flex:1}
 .sl-mobile-route-button,.sl-mobile-audio-test{height:40px;min-height:40px;white-space:nowrap;padding:4px 7px;font-size:11px;font-weight:760;border:1px solid #cfdeea;border-radius:8px;background:#fff;color:#3d617b;box-shadow:none}
 .sl-mobile-output-status{display:none;color:#2f6983;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .sl-mobile-output-status:not(:empty){display:block;position:fixed;z-index:90;bottom:max(8px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:95vw;padding:8px 12px;background:#214761;color:#fff;border-radius:8px;box-shadow:0 3px 12px #142d4340;white-space:normal;text-align:center}
 .soul-mobile-console .mobile-mix-toggle,.soul-mobile-console .stage-mixer-controls,
 .soul-mobile-console .mobile-mixer-sheet-bar,.soul-mobile-console .mobile-mixer-backdrop{display:none!important}
 .soul-mobile-console .meter-title{display:none!important}
 .soul-mobile-console:not(.soul-mobile-mix-screen) #mixer{display:none!important}
 .soul-mobile-console .live-bottom-controls,.soul-mobile-console .bottomline{display:none!important}
 /* PLAYER: mixer never overlays the waveform or song selection */
 .soul-mobile-console:not(.soul-mobile-mix-screen)>.main-grid{display:grid!important;
  flex:1 1 auto!important;min-width:0!important;min-height:0!important;max-height:none!important;
  margin:0!important;gap:6px!important;overflow:hidden!important}
 .soul-mobile-console .live-workspace{min-width:0;min-height:0;display:flex;flex-direction:column;gap:5px;overflow:hidden}
 .soul-mobile-console .timeline{flex:1 1 auto;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;padding:6px!important;border-radius:10px}
 .soul-mobile-console .timeline .heading{flex:0 0 auto;margin:0 0 4px;gap:4px;align-items:center;flex-wrap:nowrap}
 .soul-mobile-console .timeline .heading .eyebrow{font-size:10px;letter-spacing:.05em}
 .soul-mobile-console #songNote{display:none}
 .soul-mobile-console .section-nav{gap:3px;flex-wrap:nowrap}
 .soul-mobile-console .section-nav button{height:34px;min-width:35px;min-height:34px;padding:2px 5px;font-size:11px}
 .soul-mobile-console .section-nav #loopBtn{padding:2px 6px}
 .soul-mobile-console .section-nav .section-label{font-size:10px;white-space:nowrap;max-width:65px;overflow:hidden;text-overflow:ellipsis}
 .soul-mobile-console .timeline .segments{height:22px;flex:0 0 22px;padding-left:73px}
 .soul-mobile-console .timeline .segment{font-size:9px}
 .soul-mobile-console .stems-visual{flex:1 1 auto;min-height:0;overflow-y:auto!important;overscroll-behavior:contain}
 .soul-mobile-console .wave-row{height:27px;min-height:27px;grid-template-columns:72px minmax(0,1fr)}
 .soul-mobile-console .wave-name{font-size:9px;padding:0 4px;min-width:0}
 .soul-mobile-console .time-numbers{padding-left:72px;flex:0 0 16px;margin-top:2px;font-size:9px}
 .soul-mobile-console .progress-panel{flex:0 0 auto;margin:0!important;min-height:0!important;padding:4px 7px!important;gap:7px;flex-wrap:nowrap}
 .soul-mobile-console .progress-panel .clock{font-size:21px}
 .soul-mobile-console .progress-panel .clock small{font-size:12px}
 .soul-mobile-console .transport{flex-wrap:nowrap;min-width:0;gap:5px;order:0;flex-basis:auto}
 .soul-mobile-console .transport button{height:43px;min-width:43px;font-size:19px;touch-action:manipulation}
 .soul-mobile-console .transport button.start{height:47px;min-width:57px;font-size:23px;border-radius:10px}
 .soul-mobile-console .length{order:0;min-width:60px;flex:1}
 .soul-mobile-console .right.live-library-panel{min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:10px}
 .soul-mobile-console .right .live-library-header{display:none}
 .soul-mobile-console .tabs{flex:0 0 auto}
 .soul-mobile-console .tabs button{height:35px;min-height:35px;padding:3px 2px;font-size:10px}
 .soul-mobile-console .tabcontent{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:5px}
 .soul-mobile-console .search{height:34px;padding:4px 8px;margin-bottom:3px;font-size:12px}
 .soul-mobile-console .setlist{max-height:none}
 .soul-mobile-console .songitem{min-height:52px;padding:4px;gap:3px}
 .soul-mobile-console .songitem .name b{font-size:12px}
 .soul-mobile-console .songitem .name small{font-size:10px}
 .soul-mobile-console .songitem .song-meta{display:none}
 .soul-mobile-console .song-grip{font-size:14px;padding:3px}
 .soul-mobile-console .sl-song-more{min-width:40px!important;min-height:40px;width:40px;flex-basis:40px!important;font-size:19px!important}
 .soul-mobile-console .songitem .playSong{min-width:39px;min-height:39px}
 .soul-mobile-console .side-actions{padding:6px;gap:4px}
 .soul-mobile-console .side-actions button{font-size:10px;padding:6px}
 /* MIXER: a real screen, not a fixed modal. No giant translucent overlay. */
 .soul-mobile-console.soul-mobile-mix-screen>.main-grid{display:none!important}
 .soul-mobile-console.soul-mobile-mix-screen>.meter-title{display:flex!important;flex:0 0 auto;min-height:23px!important;margin:0!important;padding:0 4px}
 .soul-mobile-console.soul-mobile-mix-screen>.meter-title strong{font-size:12px}
 .soul-mobile-console.soul-mobile-mix-screen>#mixer.mixer.clean-mixer{
   box-sizing:border-box;flex:1 1 auto;min-height:0!important;max-height:none!important;width:100%!important;
   display:grid!important;position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;
   border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;
   padding:0!important;align-items:stretch;gap:6px!important;scroll-snap-type:none;
 }
 .soul-mobile-console #mixer .clean-group{min-width:0;min-height:0;overflow:hidden;padding:5px;border-radius:9px}
 .soul-mobile-console #mixer .clean-group h3{font-size:9px;margin:2px 3px 5px}
 .soul-mobile-console #mixer .clean-rail{min-height:0;max-height:none;overflow-x:auto;overflow-y:hidden}
 .soul-mobile-console #mixer .strip{min-width:75px;max-width:75px;flex-basis:75px;min-height:0;max-height:none;overflow:hidden;padding-bottom:4px}
 .soul-mobile-console #mixer .striphead{min-height:45px;max-height:45px;padding:5px 4px}
 .soul-mobile-console #mixer .striphead .track-title{font-size:10px}
 .soul-mobile-console #mixer .strip .faderbox{height:calc(100% - 124px);min-height:76px;max-height:200px;padding:5px 4px}
 .soul-mobile-console #mixer .strip .meter,.soul-mobile-console #mixer .strip .v-range{height:100%;max-height:180px}
 .soul-mobile-console #mixer .strip .dual button{height:30px;min-width:24px}
 .soul-mobile-console #mixer .strip.master{max-width:83px;min-width:83px}
 .soul-mobile-console #mixer .strip .db{margin-bottom:3px}
 .soul-mobile-console #mixer .strip .role{margin:3px 0}
 .soul-mobile-console .mobile-mixer-backdrop{display:none!important}
}
@media(max-width:1100px) and (pointer:coarse) and (orientation:landscape){
 .soul-mobile-console .stage-header{display:grid!important;grid-template-columns:minmax(165px,1.1fr) minmax(270px,1fr) 42px!important;grid-template-rows:auto!important;gap:5px}
 .soul-mobile-console .stage-identity{grid-column:1;grid-row:1}
 .soul-mobile-console .stage-center{grid-column:2;grid-row:1;justify-content:space-between}
 .soul-mobile-console .stage-actions{grid-column:3;grid-row:1}
 .soul-mobile-console .sl-mobile-view-nav{max-width:100%}
 .soul-mobile-console .main-grid{grid-template-columns:minmax(0,1fr) minmax(210px,29%)!important}
 .soul-mobile-console .live-workspace{grid-column:1;grid-row:1}
 .soul-mobile-console .right.live-library-panel{grid-column:2;grid-row:1}
 .soul-mobile-console.soul-mobile-mix-screen>#mixer.mixer.clean-mixer{grid-template-columns:178px minmax(0,1fr) 89px!important;grid-template-rows:minmax(0,1fr)!important}
 .soul-mobile-console #mixer .clean-group--monitor{grid-column:1!important;grid-row:1!important}
 .soul-mobile-console #mixer .clean-group--music{grid-column:2!important;grid-row:1!important}
 .soul-mobile-console #mixer .clean-group--master{grid-column:3!important;grid-row:1!important}
}
@media(max-width:1100px) and (pointer:coarse) and (orientation:portrait){
 .soul-mobile-console .stage-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important}
 .soul-mobile-console .stage-identity{grid-column:1;grid-row:1}
 .soul-mobile-console .stage-actions{grid-column:2;grid-row:1}
 .soul-mobile-console .stage-center{grid-column:1/-1;grid-row:2;justify-content:space-around;border-top:1px solid #e3edf5;padding-top:5px}
 .soul-mobile-console .sl-mobile-view-nav{flex-wrap:wrap}
 .soul-mobile-console .sl-mobile-audio-tools{min-width:0}
 .soul-mobile-console .sl-mobile-view-button{flex:1;padding:4px 6px}
 .soul-mobile-console .sl-mobile-route-button{font-size:10px}
 .soul-mobile-console .main-grid{display:flex!important;flex-direction:column!important;gap:5px!important}
 .soul-mobile-console .right.live-library-panel{order:0;flex:0 0 34%;max-height:34%}
 .soul-mobile-console .live-workspace{order:1;flex:1 1 auto}
 .soul-mobile-console .timeline{flex:1 1 auto}
 .soul-mobile-console .progress-panel{flex:0 0 auto;flex-wrap:wrap}
 .soul-mobile-console .progress-panel .transport{flex:1 1 auto;justify-content:flex-end}
 .soul-mobile-console .progress-panel .length{flex:1 1 100%}
 .soul-mobile-console.soul-mobile-mix-screen>#mixer.mixer.clean-mixer{grid-template-columns:minmax(0,1fr) 92px!important;grid-template-rows:minmax(180px,1fr) minmax(200px,1.25fr)!important;overflow-y:auto!important}
 .soul-mobile-console #mixer .clean-group--monitor{grid-column:1!important;grid-row:1!important}
 .soul-mobile-console #mixer .clean-group--master{grid-column:2!important;grid-row:1!important}
 .soul-mobile-console #mixer .clean-group--music{grid-column:1/-1!important;grid-row:2!important}
}
@media(max-width:410px) and (pointer:coarse){
 .soul-mobile-console .sl-mobile-audio-tools{flex:1 1 100%;justify-content:space-between}
 .soul-mobile-console .sl-mobile-view-nav{justify-content:space-between}
 .soul-mobile-console .sl-mobile-view-button{font-size:11px}
 .soul-mobile-console .sl-mobile-audio-tools button{height:34px;min-height:34px}
}