/* Layout only: the supplied particle shader, palette and point sizes stay intact. */
.mentor-composition { min-width:0; }
.mentor-composition .data-panel-heading { gap:2px; }
.composition-controls { display:flex; align-items:center; justify-content:flex-end; gap:2px; flex:none; }
.composition-controls .pause,.composition-controls .replay { display:grid; place-items:center; width:clamp(14px,.9vw,25px); height:clamp(14px,.9vw,25px); padding:0; border:1px solid #26758f; border-radius:2px; background:#062a42; color:#8ed9e9; font:inherit; font-size:clamp(9px,.59vw,15px); line-height:1; cursor:pointer; }
.composition-controls button:focus-visible { outline:1px solid #9cf5ff; outline-offset:1px; }
.mentor-composition .cloud-body { position:relative; display:block; min-height:0; }
.mentor-composition .cloud-visual { position:absolute; inset:0; width:100%; height:100%; min-width:0; min-height:0; touch-action:manipulation; }
.mentor-composition .cloud-visual canvas { display:block; width:100%; height:100%; }
.mentor-composition .cloud-total { position:absolute; left:31%; top:50%; transform:translate(-50%,-50%); display:grid; text-align:center; color:#c9f4f8; pointer-events:none; }
.mentor-composition .cloud-total b { font-size:clamp(15px,1.35vw,45px); line-height:1; }
.mentor-composition .cloud-total small { margin-top:2px; color:#7ea7b4; font-size:clamp(7px,.44vw,13px); white-space:nowrap; }
.mentor-composition .tooltip { position:absolute; z-index:3; top:0; left:0; padding:3px 5px; border:1px solid #2e8196; background:#061d2cf5; color:#e1fafc; font-size:clamp(8px,.55vw,14px); white-space:nowrap; pointer-events:none; }
.mentor-composition .tooltip[hidden] { display:none; }
.mentor-composition .cloud-legend { position:absolute; z-index:2; right:0; top:0; bottom:0; width:37%; display:grid; align-content:center; gap:clamp(2px,.22vw,8px); min-width:0; pointer-events:none; }
.mentor-composition .cloud-legend button { display:grid; grid-template-columns:clamp(5px,.38vw,10px) minmax(0,1fr) auto; align-items:center; gap:clamp(2px,.2vw,6px); width:100%; min-width:0; padding:1px; border:1px solid transparent; border-radius:2px; background:transparent; color:#a4c7d0; text-align:left; font:inherit; font-size:clamp(8px,.57vw,16px); line-height:1.25; cursor:pointer; pointer-events:auto; }
.mentor-composition .cloud-legend button.is-auto { color:#e2faff; text-shadow:0 0 7px #58ddfbaa; }
.mentor-composition .cloud-legend button.is-auto span { font-weight:650; }
.mentor-composition .cloud-legend button.is-auto i { transform:scale(1.28); box-shadow:0 0 10px var(--swatch); }
.mentor-composition .cloud-legend button:hover,.mentor-composition .cloud-legend button.active { border-color:transparent; background:#08304a66; color:#effeff; text-shadow:0 0 7px #80eaffaa; }
.mentor-composition .cloud-legend button:focus-visible { outline:1px solid #9cf5ff; outline-offset:1px; }
.mentor-composition .cloud-legend i { width:clamp(5px,.38vw,10px); height:clamp(5px,.38vw,10px); border-radius:50%; background:var(--swatch); box-shadow:0 0 9px var(--swatch); }
.mentor-composition .cloud-legend span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.mentor-composition .cloud-legend b { color:#caeaf0; font-weight:600; font-variant-numeric:tabular-nums; }
