/* E6: mobile-only Ambience presentation; retain native mixer, tracks and UI state. */
@layer ar-explorer-phone-type {
html[data-ar-explorer-handheld] body #workspace#workspace #ar-workspace-actions #ar-ambience-panel:not([hidden]) {
  --e6-fit:var(--ar-drawer-fit,1);
  --e6-gutter:calc(12px * var(--e6-fit));
  --e6-pad:calc(14px * var(--e6-fit));
  --e6-top:max(12dvh,calc(96px * var(--e6-fit)));
  --e6-tap:calc(45px * var(--e6-fit));
  position:fixed!important;
  inset:var(--e6-top) auto auto 50%!important;
  transform:translateX(-50%)!important;
  width:min(calc(100vw - 2 * var(--e6-gutter)),calc(430px * var(--e6-fit)))!important;
  max-width:none!important;
  max-height:min(76dvh,calc(100dvh - var(--e6-top) - var(--e6-gutter)))!important;
  padding:var(--e6-pad)!important;
  box-sizing:border-box;
  z-index:180!important;
  overflow:auto;
  overscroll-behavior:contain;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel .ar-ambience-head {
  gap:calc(8px * var(--e6-fit))!important;
  margin-bottom:calc(5px * var(--e6-fit))!important;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel :is(.ar-ambience-kicker,.ar-ambience-power-label,.ar-ambience-volume-row,.ar-ambience-volume-row label,.ar-ambience-tracks-label,#ar-ambience-track-summary,.ar-ambience-track-option>span,#ar-ambience-volume-output,#ar-ambience-power) {
  font-size:calc(14px * var(--e6-fit))!important;
  line-height:1.3!important;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel#ar-ambience-panel .ar-ambience-head .ar-ambience-kicker {
  font-size:calc(17px * var(--e6-fit))!important;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel :is(.ar-ambience-note,.ar-ambience-track-help,.ar-ambience-meta,.ar-ambience-feedback,.ar-ambience-volume-limits,#ar-ambience-track-options>legend) {
  font-size:calc(13px * var(--e6-fit))!important;
  line-height:1.35!important;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel :is(#ar-ambience-close,#ar-ambience-power,#ar-ambience-tracks-summary,.ar-ambience-track-option,#ar-ambience-volume) {
  min-height:var(--e6-tap)!important;
  box-sizing:border-box;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel #ar-ambience-close {
  width:var(--e6-tap)!important;
  height:var(--e6-tap)!important;
  font-size:calc(25px * var(--e6-fit))!important;
  line-height:1!important;
  flex:none!important;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel :is(#ar-ambience-tracks-summary,#ar-ambience-track-options,.ar-ambience-power) {
  padding:calc(8px * var(--e6-fit))!important;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel #ar-ambience-track-summary {
  white-space:normal!important;
  overflow-wrap:anywhere;
  text-align:right;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel .ar-ambience-track-option {
  padding:calc(5px * var(--e6-fit))!important;
  gap:calc(8px * var(--e6-fit))!important;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel .ar-ambience-track-option input {
  width:calc(18px * var(--e6-fit))!important;
  height:calc(18px * var(--e6-fit))!important;
  min-width:calc(18px * var(--e6-fit))!important;
  max-width:calc(18px * var(--e6-fit))!important;
  min-height:calc(18px * var(--e6-fit))!important;
  flex:none!important;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel #ar-ambience-track-list {
  max-height:min(calc(190px * var(--e6-fit)),32dvh)!important;
}
html[data-ar-explorer-handheld] #workspace#workspace #ar-ambience-panel #ar-ambience-volume {
  height:var(--e6-tap)!important;
}
html[data-ar-explorer-handheld] #ar-ambience-panel #ar-ambience-volume::-webkit-slider-runnable-track {
  height:calc(7px * var(--e6-fit))!important;
}
html[data-ar-explorer-handheld] #ar-ambience-panel #ar-ambience-volume::-webkit-slider-thumb {
  width:calc(20px * var(--e6-fit))!important;height:calc(20px * var(--e6-fit))!important;
  margin-top:calc(-6.5px * var(--e6-fit))!important;
}
html[data-ar-explorer-handheld] #ar-ambience-panel #ar-ambience-volume::-moz-range-track {
  height:calc(7px * var(--e6-fit))!important;
}
html[data-ar-explorer-handheld] #ar-ambience-panel #ar-ambience-volume::-moz-range-thumb {
  width:calc(20px * var(--e6-fit))!important;height:calc(20px * var(--e6-fit))!important;
}
}
