/* V2.0 — rendering-isolated, no global CSS, no astronomical controls */
#terra-stream-panel[hidden]{display:none!important}
#terra-stream-panel{position:absolute;inset:8px;z-index:22;background:#061521;display:flex;flex-direction:column;gap:9px;border:1px solid #667789;border-radius:11px;padding:12px;min-width:0;min-height:0;color:#e7e9e5;font:12px/1.4 system-ui,sans-serif}
#terra-stream-panel *{box-sizing:border-box}
.terra-stream-head{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.terra-stream-head h3{margin:0;color:#f4d69d;font:21px Georgia,serif}.terra-stream-head p{margin:2px 0 0;color:#b0c7d2;font-size:11px}.terra-stream-head button{margin-left:auto}
.terra-stream-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.terra-stream-controls label{display:flex;gap:6px;align-items:center;color:#c6d7df}.terra-stream-controls select,.terra-stream-controls input[type=range]{max-width:125px}
#terra-stream-panel select,#terra-stream-panel button{color:#eedeb8;background:#173444;border:1px solid #547082;border-radius:7px;padding:7px 9px;cursor:pointer;font:12px system-ui}
#terra-stream-panel button:hover{background:#24546a}
#terra-stream-panel input[type=range]{accent-color:#dab577}
.terra-stream-stage{position:relative;min-height:170px;flex:1;border:1px solid #405c6d;border-radius:10px;overflow:hidden;background:#041521;touch-action:none}
#terra-stream-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#terra-stream-canvas:active{cursor:grabbing}
.terra-stream-label{pointer-events:none;position:absolute;top:12px;left:12px;max-width:90%;background:#071825d9;color:#f5dfaa;border:1px solid #485d63;border-radius:7px;padding:8px 10px;font-size:11px}
.terra-stream-bottom{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;color:#b3c7d2;font-size:11px;flex-wrap:wrap}
.terra-stream-bottom strong{color:#e5d09f}#terra-stream-quality{max-width:500px;line-height:1.5}
#terra-stream-log{font-family:ui-monospace,monospace;color:#86bfb6;min-width:210px}
.terra-stream-warning{background:#302b20;border-left:2px solid #ba9250;color:#f3d5a4;padding:7px 10px;font-size:10px}
@media(max-width:700px){#terra-stream-panel{inset:1px;padding:7px;gap:5px}.terra-stream-head h3{font-size:17px}.terra-stream-head p{display:none}.terra-stream-controls{gap:4px}.terra-stream-controls select{max-width:100px}.terra-stream-controls label{font-size:10px}.terra-stream-stage{min-height:180px}.terra-stream-label{font-size:9px;max-width:80%}.terra-stream-bottom{font-size:10px}}
