/* Solar System Live v4 — enhancement styles (main page only: .st-solar-v4). */
.st-solar-v4 .st-zoom{position:absolute;left:12px;top:50%;transform:translateY(-50%);z-index:5;display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 4px;border-radius:12px;background:rgba(3,14,24,.72);border:1px solid #23445c}
.st-solar-v4 .st-zoom button{width:34px;height:34px;border:1px solid #27516d;background:rgba(6,22,35,.92);color:#eaf7ff;border-radius:9px;font:800 20px/1 system-ui;cursor:pointer}
.st-solar-v4 .st-zoom-slider{writing-mode:vertical-lr;direction:rtl;width:22px;height:130px;margin:0;accent-color:#46c6ff;cursor:pointer}
.st-solar-v4 .st-scale-bar{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:4;display:flex;flex-direction:column;align-items:center;gap:3px;pointer-events:none;color:#d8ecfa;font:600 11px/1.2 system-ui,sans-serif;text-shadow:0 1px 3px #000}
.st-solar-v4 .st-scale-bar i{display:block;height:6px;border:2px solid rgba(216,236,250,.85);border-top:0;min-width:20px;max-width:60vw}
.st-solar-v4 .st-panel-open{position:absolute;right:12px;top:12px;z-index:6;border:1px solid #2f5875;background:rgba(5,16,27,.86);color:#e4f4ff;border-radius:999px;padding:7px 12px;font:700 12px system-ui;cursor:pointer}
.st-solar-v4 .st-panel-open[hidden]{display:none}
.st-solar-v4 .pss-shell-focus,.st-solar-v4 [data-stage-shell]:focus{outline:none}
.st-solar-v4 [data-stage-shell]:focus-visible{outline:2px solid #35c2f7;outline-offset:-2px}
@media(min-width:861px){
 .st-solar-v4 .pss-side-panel{width:262px!important;top:12px!important;right:12px!important;max-height:calc(100% - 24px)!important;border-radius:14px!important;background:linear-gradient(180deg,rgba(7,22,35,.93),rgba(4,13,22,.93))!important;backdrop-filter:blur(6px)}
 .st-solar-v4 .pss-side-head{grid-template-columns:44px 1fr auto!important;gap:9px!important;padding:11px 12px!important}
 .st-solar-v4 .pss-side-thumb{width:44px!important;height:44px!important}
 .st-solar-v4 .pss-side-head h2{font-size:18px!important}
 .st-solar-v4 .pss-side-head p{font-size:11px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .st-solar-v4 .pss-side-tabs button{padding:7px 4px!important;font-size:11px!important}
 .st-solar-v4 .pss-side-stats{padding:4px 11px!important}
 .st-solar-v4 .pss-side-stats>div{padding:5px 2px!important;font-size:11.5px!important}
}
/* Custom labels (moons, dwarf planets, comets) */
.st-solar-v4 .st-body-label{position:absolute;transform:translate(-50%,-50%);z-index:3;border:0;background:rgba(2,8,14,.62);color:#dfeefa;border-radius:999px;padding:3px 7px;font:700 10.5px/1 system-ui,sans-serif;white-space:nowrap;cursor:pointer;text-shadow:0 1px 3px #000}
.st-solar-v4 .st-body-label.moon{color:#cfe0ea;background:rgba(2,8,14,.5);font-weight:600}
.st-solar-v4 .st-body-label.dwarf{color:#f1dcc0}
.st-solar-v4 .st-body-label.comet{color:#a8f0ff}
.st-solar-v4 .st-body-label.active{background:rgba(13,54,78,.95);outline:1px solid #63d0ff}
.st-solar-v4 .st-body-label[hidden]{display:none}
/* Tool bar (phase 2/3) */
.st-solar-v4 .st-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 12px;border-top:1px solid #183247;background:#061220}
.st-solar-v4 .st-tools button,.st-solar-v4 .st-tools select{font:700 12px/1.2 system-ui,sans-serif;padding:7px 10px;border-radius:9px;border:1px solid #2d5470;background:#0b2234;color:#e6f4ff;cursor:pointer;min-height:34px}
.st-solar-v4 .st-tools button[aria-pressed=true]{background:#15527a;border-color:#5fc4f2}
.st-solar-v4 .st-tools .st-tools-label{font:700 11px system-ui;color:#8fb0c6;letter-spacing:.05em;text-transform:uppercase;margin-right:2px}
.st-solar-v4 .st-events{display:flex;gap:6px;overflow-x:auto;padding:8px 12px;border-top:1px solid #183247;background:#050f1b;scrollbar-width:thin}
.st-solar-v4 .st-events button{flex:none;text-align:left;font:600 11.5px/1.3 system-ui,sans-serif;padding:7px 10px;border-radius:10px;border:1px solid #27485f;background:#0a1d2c;color:#dcecf8;cursor:pointer}
.st-solar-v4 .st-events button b{display:block;color:#fff;font-size:12px}
.st-solar-v4 .st-events button small{color:#93b4c9}
.st-solar-v4 .st-events .st-events-title{flex:none;align-self:center;font:700 11px system-ui;color:#8fb0c6;letter-spacing:.05em;text-transform:uppercase}
.st-solar-v4 .st-banner{position:absolute;left:50%;top:12px;transform:translateX(-50%);z-index:7;max-width:min(560px,calc(100% - 300px));background:rgba(6,20,32,.92);border:1px solid #2f6a8f;border-radius:12px;padding:10px 12px;color:#e6f4ff;font:500 13px/1.45 system-ui,sans-serif;box-shadow:0 10px 30px rgba(0,0,0,.4)}
.st-solar-v4 .st-banner[hidden]{display:none}
.st-solar-v4 .st-banner b{color:#fff}
.st-solar-v4 .st-banner .st-banner-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.st-solar-v4 .st-banner button,.st-solar-v4 .st-banner a{font:700 12px system-ui;padding:6px 10px;border-radius:8px;border:1px solid #3f7aa0;background:#123247;color:#fff;cursor:pointer;text-decoration:none}
.st-solar-v4 .st-measure-label{position:absolute;transform:translate(-50%,-50%);z-index:4;pointer-events:none;background:rgba(40,25,4,.88);border:1px solid #d9a441;color:#ffe2a6;border-radius:8px;padding:4px 8px;font:700 11px/1.3 system-ui,sans-serif;white-space:nowrap}
.st-solar-v4 .st-measure-label[hidden]{display:none}
.st-solar-v4 .st-modal{position:fixed;inset:0;z-index:2147483000;background:rgba(1,5,10,.86);display:flex;align-items:center;justify-content:center;padding:14px}
.st-solar-v4 .st-modal[hidden]{display:none}
.st-solar-v4 .st-modal-box{position:relative;width:min(1100px,100%);max-height:100%;overflow:auto;background:#06131f;border:1px solid #2f5875;border-radius:16px;padding:16px;color:#e6f4ff}
.st-solar-v4 .st-modal-box h3{margin:0 34px 6px 0;font:800 20px system-ui}
.st-solar-v4 .st-modal-box p{margin:0 0 10px;color:#a9c4d6;font-size:13px}
.st-solar-v4 .st-modal-close{position:absolute;top:8px;right:10px;border:0;background:transparent;color:#cfe3f1;font-size:26px;cursor:pointer;line-height:1}
.st-solar-v4 .st-modal canvas{width:100%;height:auto;display:block;border-radius:10px;background:#02060b}
.st-solar-v4 .st-modal-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.st-solar-v4 .st-modal-actions button,.st-solar-v4 .st-modal-actions a,.st-solar-v4 .st-modal-actions label{font:700 12px system-ui;padding:8px 12px;border-radius:9px;border:1px solid #3f7aa0;background:#123247;color:#fff;cursor:pointer;text-decoration:none}
.st-solar-v4 .st-modal img{max-width:100%;border-radius:10px;display:block;margin:0 auto}
.st-solar-v4 .st-light-ring{pointer-events:none}
.st-solar-v4 .st-toast{position:absolute;left:50%;bottom:44px;transform:translateX(-50%);z-index:8;background:rgba(10,40,24,.94);border:1px solid #3a9a6a;color:#e8fff2;border-radius:999px;padding:7px 14px;font:700 12px system-ui;pointer-events:none}
.st-solar-v4 .st-toast[hidden]{display:none}
@media(max-width:860px){.st-solar-v4 .st-banner{max-width:calc(100% - 24px);top:auto;bottom:40px}.st-solar-v4 .st-zoom-slider{height:90px}.st-solar-v4 .st-scale-bar{bottom:56px}}
.st-solar-v4 .st-ruler-ui{display:inline-flex;gap:5px;align-items:center;color:#ffc35a;font-weight:800}
.st-solar-v4 .st-ruler-ui[hidden]{display:none}
.st-solar-v4 .st-ruler-ui select{border-color:#8a6a2a!important}
.st-solar-v4 .st-scale-bar[hidden]{display:none}
.st-solar-v4 .pss-feature-row,.pss-live-v110 .pss-feature-row{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}
@media(max-width:700px){.st-solar-v4 .st-tools{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.st-solar-v4 .st-tools::-webkit-scrollbar{display:none}.st-solar-v4 .st-tools>*{flex:none}.st-solar-v4 .st-ruler-ui select{max-width:120px}}
/* v2: cleaner map — no corner note; static labels on mission maps */
.st-solar-v4 .pss-corner-note{display:none!important}
.st-solar-v4 .st-body-label.st-static{pointer-events:none;cursor:default}
.st-solar-v4 .st-scale-bar{bottom:10px!important}
.st-solar-v4-mission .st-scale-bar{bottom:30px!important}
