.sky.detail :is(.orbit-workbench,#orbit-foot){display:none}
.sky:not(.detail){
  display:grid;height:auto;min-height:0;align-items:start;isolation:isolate;
  grid-template-columns:minmax(237px,.78fr) minmax(0,2.3fr);
  grid-template-areas:"head settings" "register chart" "register info" "moons moons" "bottom bottom";
  grid-template-rows:auto auto auto auto;column-gap:clamp(16px,3vw,64px);row-gap:0;
  padding:clamp(25px,3.5vw,58px) var(--gutter) 0;
}
.sky:not(.detail) .haze{z-index:-1;pointer-events:none}
.sky:not(.detail) .sky-head{position:static;grid-area:head;max-width:none;align-self:end}
.sky:not(.detail) .sky-head h1{font:normal clamp(43px,4.7vw,83px)/1 Georgia,serif;white-space:normal;letter-spacing:-.06em;margin:10px 0}
.sky:not(.detail) .sky-head .overline{font-size:10px;line-height:1.5;letter-spacing:.19em}
.sky:not(.detail) #instructions{font-size:clamp(13px,1.04vw,17px);line-height:1.55;max-width:34ch;margin:0;color:#c6d0d7}
.orbit-workbench{display:contents}
.orbit-settings{grid-area:settings;align-self:end;display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px clamp(9px,1.5vw,24px);border-bottom:1px solid #c8aa6c49;padding:0 0 14px;margin:0 0 7px}
.orbit-settings label{display:grid;gap:5px;color:#c7c7c5;font:11px/1.3 system-ui,sans-serif;letter-spacing:.065em}
.orbit-settings select{color-scheme:dark;color:#f1e1bd;border:1px solid #827052;background:#0b1523;border-radius:5px;padding:6px 7px;font:13px/1.35 system-ui,sans-serif;max-width:100%;cursor:pointer}
.orbit-settings input{width:100px;accent-color:#e6c785}.orbit-settings :focus-visible,.orbit-entry button:focus-visible,#orbit-now:focus-visible{outline:2px solid #ecc879;outline-offset:2px}
.orbit-register{grid-area:register;display:grid;align-content:start;padding:18px 0 10px;z-index:2}
.orbit-entry{display:flex;align-items:center;gap:8px;border-bottom:1px solid #ac9b7530}
.orbit-entry:last-child{border-bottom:0}
.orbit-entry>button:first-child{display:grid;align-content:center;gap:2px;min-height:44px;min-width:0;flex:1;text-align:left;padding:6px 0;color:#eee6d4}
.orbit-entry strong{font:normal clamp(16px,1.3vw,21px)/1.2 Georgia,serif}
.orbit-entry small{font:12px/1.35 system-ui,sans-serif;color:#b7c7d3}
.orbit-entry>button:first-child:hover strong{color:#f6ce7c;text-decoration:underline;text-underline-offset:3px}
.orbit-entry .orbit-moons{font:11px/1.2 system-ui,sans-serif;color:#efce92;border:1px solid #a18c615f;border-radius:20px;white-space:nowrap;padding:5px 8px}
.sky:not(.detail) .field{grid-area:chart;align-self:center;position:relative;inset:auto;width:100%;height:clamp(320px,31vw,560px);overflow:hidden;isolation:isolate}
.sky:not(.detail) .field .body .globe,.sky:not(.detail) .field .body .aura{display:none}
.sky:not(.detail) .body{border:0;box-shadow:none;background:transparent;touch-action:manipulation}
.sky:not(.detail) .body:before{display:none}
.sky:not(.detail) .body.unresolved:after{content:'';position:absolute;top:50%;left:50%;width:7px;height:7px;transform:translate(-50%,-50%);border:1px solid #d3dbea99;border-radius:50%;pointer-events:none}
.sky:not(.detail) .body .caption{position:absolute;left:calc(50% + var(--label-x,0px));top:calc(50% + var(--label-y,15px));padding:0 3px;line-height:17px;font-size:clamp(12px,1vw,16px);white-space:nowrap;border:0;background:transparent;pointer-events:none;text-shadow:0 1px 3px black,0 0 7px black,0 0 12px black;color:#eee2c9;max-width:none}
.sky:not(.detail) .quiet-label:not(:hover):not(:focus-visible) .caption{visibility:hidden}
.sky:not(.detail) .body:hover,.sky:not(.detail) .body:focus-visible{z-index:80!important;outline:1px solid #f4da9f;outline-offset:2px}
.sky:not(.detail) .body:is(:hover,:focus-visible) .caption{background:#0a1421;color:#ffe1a2;border-radius:4px}
#orbit-foot{grid-area:info;display:flex;justify-content:space-between;align-items:center;gap:5px 16px;flex-wrap:wrap;padding:9px 0;border-top:1px solid #ae997746;font:12px/1.5 system-ui,sans-serif;color:#bdc9d5}
.orbit-time{display:flex;gap:9px;align-items:center;font-variant-numeric:tabular-nums}
#orbit-now{padding:4px 0;color:#efca87;font:inherit;text-decoration:underline;text-underline-offset:3px}
.sky:not(.detail) .sky-bottom{grid-area:bottom;position:static;height:auto;min-height:48px}
@media(max-width:780px){
  .sky:not(.detail){grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "settings" "chart" "info" "register" "moons" "bottom";padding:22px var(--gutter) 0}
  .sky:not(.detail) .sky-head{max-width:100%}
  .sky:not(.detail) .sky-head h1{font-size:45px;margin:7px 0}
  .sky:not(.detail) #instructions{max-width:100%}
  .orbit-settings{margin:16px 0 0;padding-bottom:10px;gap:7px}
  .orbit-settings label{font-size:10px;letter-spacing:.02em;min-width:0}.orbit-settings select{padding:5px 2px;font-size:12px}
  .sky:not(.detail) .field{height:clamp(270px,72vw,390px)}
  .orbit-register{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px;padding:8px 0}
  .orbit-entry>button:first-child{display:grid;align-content:center;gap:2px;min-height:43px}
  .orbit-entry small{font-size:11px}.orbit-entry .orbit-moons{padding:4px;font-size:10px}
  #orbit-foot{font-size:11px}
}
@media(max-width:360px){.orbit-register{grid-template-columns:1fr}.sky:not(.detail) .sky-head h1{font-size:38px}}

#orbit-facts{margin:0 0 4px;flex:0 0 100%;color:#e7d7b7;font:13px/1.5 system-ui,sans-serif}
@media(min-width:781px){
  .sky:not(.detail){grid-template-areas:"head settings" "head chart" "register chart" "register info" "moons moons" "bottom bottom";grid-template-rows:auto auto 1fr auto auto auto}
  .sky:not(.detail) .sky-head{align-self:start;width:100%}
  .orbit-settings{align-self:start}
  .sky:not(.detail) .field{height:auto;min-height:clamp(360px,33vw,560px);align-self:stretch}
}

@media(max-width:650px){
  .mast{gap:4px;padding-left:12px;padding-right:10px}
  .mast .brand>span{font-size:clamp(16px,5vw,22px)}
  .mast .brandmark{width:26px;height:29px}
  .mast .tools{gap:0}.mast .tools button{min-width:32px;padding:4px}
  .mast .tools #return-gate{margin:0;gap:3px}
  .sky:not(.detail) .field.diameter-map{height:365px}
}

.orbit-satellites{grid-area:moons;padding:15px 0 10px;border-top:1px solid #ae997746}
.orbit-satellites[hidden]{display:none}
.orbit-satellites h2{margin:0 0 10px;color:#f2d79d;font:normal clamp(19px,1.6vw,25px)/1.2 Georgia,serif}
.lunar-entries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 18px}
.lunar-entries button{display:flex;align-items:center;gap:9px;min-height:44px;padding:4px 0;text-align:left;line-height:1.25}
.lunar-entries button:focus-visible{outline:2px solid #ecc879;outline-offset:2px}
.lunar-entries button:hover strong,.index-grid button:hover strong{color:#f6ce7c}
.lunar-entries .mini{width:30px;height:30px}
.lunar-entries strong,.index-grid strong{display:block;color:#f1e6cf;font:normal clamp(15px,1.23vw,19px)/1.18 Georgia,serif}
.lunar-entries small,.index-grid small{display:block;margin-top:2px;color:#b7c7d3;font:11px/1.3 system-ui,sans-serif}
.sky:not(.detail) .body .caption{width:max-content;line-height:1.16;font-size:clamp(12px,1.05vw,16px)}
.sky:not(.detail) .caption small{display:block;font:10px/1.15 system-ui,sans-serif;color:#c0cdd8}
@media(max-width:780px){.lunar-entries{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 10px}.lunar-entries .mini{width:25px;height:25px}}
