/* Sky — Glass. The board's Glass design carried into Sky mode (night.html).

   Applies only under :root[data-sky-glass], which night.html sets before
   first paint when the board style is Glass (the default) — anyone who chose
   Classic, Atlas, Paper or Signal keeps the original starfield Sky.

   The live map stops being a small card beside the photo and becomes the
   whole background (sky-glass.js moves the element out to <body>, so the
   flight-change animation's transform can't drag a fixed map with it). The
   flight details and the photo float over it on frosted pills; the header
   buttons are brand chips that fade when idle; "Hide info" / H leaves just
   the map; a 3px brand stripe runs along the bottom edge. */

:root[data-sky-glass]{
  --sg-tint:rgba(12,14,18,.62);
  --sg-tint-soft:rgba(12,14,18,.42);
  --sg-edge:rgba(255,255,255,.14);
  --sg-ink:#F7F8FA; --sg-muted:#A8AFBA;
}
:root[data-sky-glass][data-theme="black"]{ --sg-tint:rgba(0,0,0,.66); --sg-tint-soft:rgba(0,0,0,.45) }
:root[data-sky-glass][data-theme="day"]{
  --sg-tint:rgba(255,255,255,.80); --sg-tint-soft:rgba(255,255,255,.6);
  --sg-edge:rgba(20,30,50,.14); --sg-ink:#111318; --sg-muted:#5B6270;
}

/* ---- the map is the sky ---------------------------------------------------- */
:root[data-sky-glass] #sky,
:root[data-sky-glass] body::after{ display:none !important }
:root[data-sky-glass] body{ background:#E6E8EB }
:root[data-sky-glass] body > #miniMap{
  position:fixed !important; top:0; right:0; bottom:0; left:0;
  width:auto; height:auto; max-height:none !important; flex:none;
  z-index:0; border:0; border-radius:0; display:block !important;
}
:root[data-sky-glass] body > #miniMap .leaflet-container{ background:#E6E8EB }
:root[data-sky-glass] header,
:root[data-sky-glass] main,
:root[data-sky-glass] footer{ position:relative; z-index:2 }
/* Clicks pass through the empty parts of the overlay to nothing in
   particular (the map is a backdrop, not a control), but every real control
   and panel takes them. */
:root[data-sky-glass] main{ pointer-events:none }
:root[data-sky-glass] main *{ pointer-events:auto }

/* ---- header: brand chips --------------------------------------------------- */
:root[data-sky-glass] header{ padding-top:max(2.4vmin, 14px) }
:root[data-sky-glass] header .tag,
:root[data-sky-glass] header .clock{
  padding:.35em .8em; border-radius:12px;
  background:var(--sg-tint); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  box-shadow:0 0 0 1px var(--sg-edge);
}
:root[data-sky-glass] header .tag{ -webkit-text-fill-color:currentColor; background-clip:border-box; -webkit-background-clip:border-box; color:var(--sg-ink) }
:root[data-sky-glass] header .clock{ color:var(--sg-ink) }
:root[data-sky-glass] #markLink{
  border-radius:12px; background:var(--sg-tint); padding:2px;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); box-shadow:0 0 0 1px var(--sg-edge);
}
:root[data-sky-glass] header a:not(#markLink),
:root[data-sky-glass] header button{
  --chip:#2F7BFF;
  color:var(--sg-ink); font-weight:600;
  background:var(--sg-tint); border:1px solid var(--sg-edge);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  box-shadow:inset 0 -3px 0 var(--chip);
  transition:opacity .45s ease, background-color .15s ease;
}
:root[data-sky-glass] header #logBtn{ --chip:#00E0C6 }
:root[data-sky-glass] header #fsBtn{ --chip:#2F7BFF }
:root[data-sky-glass] header #tourBtn{ --chip:#00E0C6 }
:root[data-sky-glass] header #boardBtn{ --chip:#2F7BFF }
:root[data-sky-glass] header #sgHideBtn{ --chip:#FF3D77 }
@supports (color: color-mix(in srgb, red 10%, blue)){
  :root[data-sky-glass] header a:not(#markLink):hover,
  :root[data-sky-glass] header button:hover,
  :root[data-sky-glass] header #sgHideBtn[aria-pressed="true"]{
    background:color-mix(in srgb, var(--chip) 55%, #3A3F4A); border-color:var(--chip); color:#fff;
  }
}
/* Settings is the one solid pink control, as on the boards. */
:root[data-sky-glass] header #setBtn{
  background:#FF3D77; border-color:#FF3D77; color:#12101A; box-shadow:none;
}
:root[data-sky-glass] header #setBtn:hover{ background:#FF6A97; border-color:#FF6A97; color:#12101A }

/* Idle: the controls fade after a few seconds without input (sky-glass.js);
   the mark, the label and the clock stay. */
:root[data-sky-glass].sg-idle header a:not(#markLink),
:root[data-sky-glass].sg-idle header button,
:root[data-sky-glass].sg-idle #miniZoomBtn{ opacity:0; pointer-events:none }
:root[data-sky-glass] #miniZoomBtn{ transition:opacity .45s ease }

/* ---- the flight, on glass -------------------------------------------------- */
:root[data-sky-glass] #flight{ grid-template-columns:minmax(0,1fr) minmax(0,.62fr); align-items:start }
:root[data-sky-glass] #flight .txt{
  justify-self:start; max-width:min(860px, 100%);
  padding:clamp(14px,2.4vmin,30px) clamp(16px,2.8vmin,36px);
  border-radius:20px;
  background:var(--sg-tint); -webkit-backdrop-filter:blur(12px) saturate(1.2); backdrop-filter:blur(12px) saturate(1.2);
  box-shadow:0 0 0 1px var(--sg-edge), 0 18px 50px rgba(0,0,0,.35);
  position:relative; overflow:hidden;
}
/* The brand strip rides the panel's top edge. */
:root[data-sky-glass] #flight .txt::before{
  content:""; position:absolute; left:clamp(16px,2.8vmin,36px); top:0; width:104px; height:3px;
  background:linear-gradient(90deg,#FF3D77 0,#FF3D77 33.333%,#00E0C6 33.333%,#00E0C6 66.666%,#2F7BFF 66.666%);
}
:root[data-sky-glass] .side{ height:auto; max-height:56vh; justify-self:end; width:100% }
:root[data-sky-glass] .photo{ flex:none; max-height:44vh }
:root[data-sky-glass] .photo img{
  padding:0; border-radius:16px; background:none;
  box-shadow:0 0 0 1px var(--sg-edge), 0 18px 50px rgba(0,0,0,.4);
}
:root[data-sky-glass] .photo figcaption{
  align-self:flex-end; margin-top:6px; padding:3px 9px; border-radius:8px;
  background:var(--sg-tint-soft); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
:root[data-sky-glass] .photo a{ color:var(--sg-muted) }
/* The loading message sits on a pill too, so it reads over the map. */
:root[data-sky-glass] #loading{
  align-self:flex-start; padding:12px 18px; border-radius:14px;
  background:var(--sg-tint); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  box-shadow:0 0 0 1px var(--sg-edge); color:var(--sg-ink);
}

/* "Hide info" / H: just the map, the plane and the controls. */
:root[data-sky-glass].sg-bare #flight,
:root[data-sky-glass].sg-bare #loading,
:root[data-sky-glass].sg-bare footer{ visibility:hidden }

/* ---- the "Close up" toggle, now on the big map ----------------------------- */
:root[data-sky-glass] #miniZoomBtn{
  right:clamp(14px,4vw,48px); bottom:calc(clamp(14px,3vmin,30px) + 34px);
  padding:8px 12px; border-radius:10px; font-weight:600;
  background:var(--sg-tint); color:var(--sg-ink); border:1px solid var(--sg-edge);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  box-shadow:inset 0 -3px 0 #00E0C6;
}

/* ---- footer: one small pill, plus the brand stripe along the bottom -------- */
:root[data-sky-glass] footer{
  align-self:flex-start; margin:0 0 calc(3vmin + 3px) 4vw; padding:6px 12px; border-radius:10px;
  background:var(--sg-tint-soft); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  color:var(--sg-muted); font-size:clamp(.7rem,1.3vw,.95rem);
}
:root[data-sky-glass] footer b{ color:var(--sg-ink) }
:root[data-sky-glass] body::before{
  content:""; position:fixed; left:0; right:0; bottom:0; height:3px; z-index:5; pointer-events:none;
  background:linear-gradient(90deg,#FF3D77 0,#FF3D77 33.333%,#00E0C6 33.333%,#00E0C6 66.666%,#2F7BFF 66.666%);
}

/* ---- portrait and phones: the panel takes the width, the photo sits below -- */
@media (max-width:760px), (orientation:portrait){
  :root[data-sky-glass] #flight{ grid-template-columns:1fr }
  :root[data-sky-glass] #flight .txt{ max-width:none; width:100% }
  :root[data-sky-glass] .side{ max-height:30vh; justify-self:stretch }
  :root[data-sky-glass] .photo{ max-height:30vh }
}
@media (prefers-reduced-motion:reduce){
  :root[data-sky-glass] header a, :root[data-sky-glass] header button, :root[data-sky-glass] #miniZoomBtn{ transition:none }
}

/* ---- header, reorganised: title left · controls together · clock right ---- */
:root[data-sky-glass] header{ flex-wrap:wrap; gap:10px; align-items:center }
:root[data-sky-glass] #markLink{ order:0 }
:root[data-sky-glass] header .tag{ order:1 }
:root[data-sky-glass] header #boardBtn{ order:2; margin-left:auto }
:root[data-sky-glass] header #tourBtn{ order:3 }
:root[data-sky-glass] header #logBtn{ order:4 }
:root[data-sky-glass] header #fsBtn{ order:5 }
:root[data-sky-glass] header #sgHideBtn{ order:6 }
:root[data-sky-glass] header #setBtn{ order:7 }
:root[data-sky-glass] header .clock{ order:8; margin-left:6px }
:root[data-sky-glass] header a:not(#markLink),
:root[data-sky-glass] header button{
  font:600 clamp(.8rem,1.2vw,1rem)/1.2 var(--body); letter-spacing:0; padding:.55em .9em; border-radius:10px;
}
/* The title, as the boards write theirs: a mono kicker over a bold name. */
:root[data-sky-glass] header .tag{
  display:flex; flex-direction:column; gap:3px; padding:.5em 1em .55em;
  font:800 clamp(1rem,1.9vw,1.6rem)/1.05 var(--display); letter-spacing:-.02em; text-transform:uppercase;
}
:root[data-sky-glass] header .tag::before{
  content:"TRANSIT PROJECT / SKY"; font:500 clamp(8px,.75vw,10px)/1.3 var(--mono);
  letter-spacing:.13em; color:var(--sg-muted);
}
:root[data-sky-glass] header .clock{
  font:500 clamp(1rem,2vw,1.7rem)/1.15 var(--mono); letter-spacing:-.04em; padding:.4em .8em;
}

/* ---- type: the boards' faces, solid colours (no gradient fills) ----------- */
:root[data-sky-glass] #flight .txt{ color:var(--sg-ink); letter-spacing:0 }
:root[data-sky-glass] .airline,
:root[data-sky-glass] .route .city{
  font-family:var(--display); font-weight:800; letter-spacing:-.03em;
  background:none; -webkit-text-fill-color:currentColor; color:var(--sg-ink);
}
:root[data-sky-glass] .flight{ font-family:var(--mono); font-weight:500; letter-spacing:.02em; color:var(--sg-muted) }
:root[data-sky-glass] .route .arrow{ color:#00E0C6 }
:root[data-sky-glass] .route .code{ font-family:var(--mono); color:var(--sg-muted) }
:root[data-sky-glass] .subcity{ font-family:var(--body); font-weight:400; color:var(--sg-muted) }
:root[data-sky-glass] .dist{ font-family:var(--mono); font-weight:500; color:var(--sg-muted) }
:root[data-sky-glass] .status{ font-family:var(--mono); font-weight:600; letter-spacing:-.01em }
:root[data-sky-glass] .status .phase{ color:var(--sg-ink) }
:root[data-sky-glass] .progress .lbl{ font-family:var(--mono); color:var(--sg-muted) }
:root[data-sky-glass] .progress .fill{ background:linear-gradient(90deg,#FF3D77,#2F7BFF 55%,#00E0C6) }

/* Alerts drop in just under the header, as a glass card, instead of sliding
   down from the very top over the controls. --sg-head is the header's bottom
   edge (sky-glass.js). */
:root[data-sky-glass] #alertBanner{
  top:calc(var(--sg-head, 84px) + 8px); transform:translate(-50%,-10px); opacity:0; pointer-events:none;
  transition:transform .35s ease, opacity .35s ease;
  background:var(--sg-tint); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  border:1px solid var(--sg-edge); border-radius:14px; box-shadow:inset 3px 0 0 #FF3D77, 0 14px 40px rgba(0,0,0,.4);
}
:root[data-sky-glass] #alertBanner.show{ transform:translate(-50%,0); opacity:1; pointer-events:auto }
:root[data-sky-glass] #alertBanner .t{ color:var(--sg-ink); font-family:var(--body) }

/* Phones: keep the map in view — a small photo, no footer pill (the range
   and place are in the panel's own first line), a slimmer clock. */
@media (max-width:600px){
  :root[data-sky-glass] .side{ max-height:20vh }
  :root[data-sky-glass] .photo{ max-height:20vh }
  :root[data-sky-glass] .photo img{ max-height:17vh; object-fit:cover }
  :root[data-sky-glass] footer{ display:none }
  :root[data-sky-glass] header .clock{ font-size:.95rem; padding:.35em .7em }
  :root[data-sky-glass] #flight .txt{ padding:14px 16px }
  :root[data-sky-glass] #alertBanner{ width:calc(100vw - 32px); max-width:none }
}

/* Photo hidden (Settings → Photos → Hide, the Glass default): the side column
   goes too, so the map has the whole right of the screen. */
:root[data-sky-glass].no-photo .side{ display:none }
:root[data-sky-glass].no-photo #flight{ grid-template-columns:minmax(0,1fr) }

/* ---- a map with more in it ------------------------------------------------- */
/* Every aircraft in range: pointed along its track, callsign beside it,
   brighter on hover, and a click makes it the subject. */
.sg-plane-wrap{ background:none; border:0 }
.sg-plane{ display:block; width:22px; height:22px; transform:rotate(var(--r,0deg)); transition:transform 1s linear }
.sg-plane svg{ width:22px; height:22px; display:block; overflow:visible;
  filter:drop-shadow(0 0 3px rgba(0,0,0,.9)) }
.sg-plane path{ fill:#1B1F27; stroke:#FFFFFF; stroke-width:1.1 }
.sg-plane-lbl{ position:absolute; left:24px; top:3px; white-space:nowrap;
  font:600 10px/1.2 "IBM Plex Mono",ui-monospace,monospace; color:#F7F8FA; letter-spacing:.02em;
  padding:1px 5px; border-radius:4px; background:rgba(12,14,18,.62); pointer-events:none }
.sg-plane-wrap:hover .sg-plane path{ fill:#FF3D77 }
.sg-plane-wrap:hover .sg-plane-lbl{ background:#FF3D77; color:#fff }
.sg-plane-wrap{ cursor:pointer }
/* At wide zooms the labels would pile up; keep the planes, drop the names. */
.sg-zoomed-out .sg-plane-lbl{ display:none }

/* The map's own zoom buttons, as glass chips. */
:root[data-sky-glass] body > #miniMap .leaflet-top.leaflet-right{ margin-top:calc(var(--sg-head, 84px) + 54px); margin-right:clamp(4px,3vw,38px) }
:root[data-sky-glass] body > #miniMap .leaflet-bar{ border:0; box-shadow:0 0 0 1px var(--sg-edge) }
:root[data-sky-glass] body > #miniMap .leaflet-bar a{
  background:var(--sg-tint); color:var(--sg-ink); border-color:var(--sg-edge);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
:root[data-sky-glass].sg-idle body > #miniMap .leaflet-control-zoom{ opacity:0; pointer-events:none }
:root[data-sky-glass] body > #miniMap .leaflet-control-zoom{ transition:opacity .45s ease }

/* "Following the plane you picked · Back to nearest" */
#sgPinChip{ display:none }
:root[data-sky-glass].sky-pinned #sgPinChip{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin:-2px 0 10px; padding:5px 5px 5px 12px; border-radius:10px; color:var(--sg-ink);
  font:500 12px/1.2 var(--body,system-ui); background:rgba(0,224,198,.12);
  box-shadow:inset 0 0 0 1px rgba(0,224,198,.45);
}
#sgPinChip button{ border:0; border-radius:8px; padding:6px 10px; cursor:pointer;
  font:600 12px/1.2 var(--body,system-ui); background:#00E0C6; color:#0F1115 }

/* On the light map: your own spot and the subject plane need dark ink. */
:root[data-sky-glass] .mini-here-label{ color:#111318; text-shadow:0 0 3px #fff, 0 0 2px #fff }
:root[data-sky-glass] .mini-veh-icon path, :root[data-sky-glass] .mini-veh-icon rect{ fill:#FF3D77; stroke:#fff; stroke-width:1 }
:root[data-sky-glass] .mini-veh-icon svg{ filter:drop-shadow(0 0 4px rgba(255,61,119,.6)) }
:root[data-sky-glass] .mini-endpt{ background:#2F7BFF; border-color:#fff }

/* ---- "On this route": stars on the map, one line in the panel ------------ */
.sg-poi-wrap{ background:none; border:0 }
.sg-poi{ display:flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%;
  font-size:11px; line-height:1; color:#fff; background:#FFB020; box-shadow:0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.35) }
.sg-poi.next{ background:#FF3D77; box-shadow:0 0 0 2px #fff, 0 0 0 6px rgba(255,61,119,.25), 0 2px 6px rgba(0,0,0,.35) }
.sg-poi-lbl{ position:absolute; left:22px; top:1px; white-space:nowrap; pointer-events:none;
  font:600 11px/1.2 "IBM Plex Sans",system-ui,sans-serif; color:#111318;
  text-shadow:0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff }
.sg-zoomed-out .sg-poi:not(.next) + .sg-poi-lbl{ display:none }

#sgRoute{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; margin-top:12px; padding-top:10px;
  border-top:1px solid var(--sg-edge); font:400 clamp(.8rem,1.25vw,1.05rem)/1.35 var(--body); color:var(--sg-muted) }
#sgRoute .sg-route-k{ font:600 clamp(9px,.8vw,11px)/1.3 var(--mono); letter-spacing:.12em; text-transform:uppercase; color:#FFB020 }
#sgRoute .sg-next{ color:var(--sg-ink) }
#sgRoute .sg-next b{ color:#FF3D77; font-weight:700 }
:root[data-theme="day"] #sgRoute .sg-route-k{ color:#B7791F }

/* ---- compact flight card -------------------------------------------------
   The panel kept the original Sky's poster-sized type, which on a map page
   covered most of the map. Here it is a card: about half the type size,
   at most ~560px wide, parked bottom-left so the map has the rest. Sizes
   still go through --fit, so night.html's own overflow fitter keeps working. */
:root[data-sky-glass] main{ justify-content:flex-end; padding-bottom:clamp(10px,2vmin,22px) }
:root[data-sky-glass] #flight{ grid-template-columns:minmax(0,1fr) !important; align-items:end }
:root[data-sky-glass] #flight .txt{
  width:min(560px, 100%); max-width:none; justify-self:start;
  padding:clamp(12px,1.8vmin,20px) clamp(14px,2vmin,22px);
}
:root[data-sky-glass] #flight .txt::before{ left:clamp(14px,2vmin,22px); width:72px }
:root[data-sky-glass] .compass{ width:clamp(26px,min(3vw,3.6vh),40px) }
:root[data-sky-glass] .dist{ font-size:clamp(.72rem,min(1.1vw,1.4vh),.95rem) }
:root[data-sky-glass] #airlineLogo{ height:clamp(18px,min(2.2vw,2.8vh),30px); padding:3px 5px; border-radius:6px }
:root[data-sky-glass] .airline{ font-size:calc(var(--fit,1)*clamp(1.25rem,min(3.2vw,4.2vh),2.4rem)) }
:root[data-sky-glass] .flight{ font-size:calc(var(--fit,1)*clamp(.72rem,min(1.15vw,1.5vh),.95rem)) }
:root[data-sky-glass] .route{ gap:.5em; margin-top:.2em }
:root[data-sky-glass] .route .city{ font-size:calc(var(--fit,1)*clamp(1.05rem,min(2.6vw,3.4vh),2rem)) }
:root[data-sky-glass] .route .arrow{ font-size:calc(var(--fit,1)*clamp(.95rem,min(2.2vw,2.8vh),1.6rem)) }
:root[data-sky-glass] .route .code{ font-size:clamp(.75rem,1.2vw,1rem) }
:root[data-sky-glass] .subcity{ font-size:calc(var(--fit,1)*clamp(.7rem,min(1vw,1.3vh),.88rem)) }
:root[data-sky-glass] .status{ font-size:calc(var(--fit,1)*clamp(.78rem,min(1.25vw,1.6vh),1.05rem)); gap:.55em; margin-top:.5em }
:root[data-sky-glass] .progress{ margin-top:.5em }
:root[data-sky-glass] .progress .lbl{ font-size:clamp(.65rem,.9vw,.8rem) }
:root[data-sky-glass] #sgRoute{ font-size:clamp(.72rem,1vw,.88rem); margin-top:9px; padding-top:8px }
:root[data-sky-glass] footer{ display:none }   /* the range ring and your labelled spot on the map say the same */
/* Controls on the map sit top-right, under the header, clear of the card. */
:root[data-sky-glass] #miniZoomBtn{ top:calc(var(--sg-head, 84px) + 10px); bottom:auto }
/* Lift the card clear of the map/aircraft credit lines in the corner. */
:root[data-sky-glass] main{ padding-bottom:calc(clamp(10px,2vmin,22px) + 30px) }
@media (max-width:600px){
  :root[data-sky-glass] #flight .txt{ width:100% }
}

/* Alerts stay out of the way of an open panel, and close with their ×. */
:root[data-sky-glass] body:has(#fleetPanel.show, #logPanel.show, #settings.show) #alertBanner{ opacity:0 !important; pointer-events:none !important }
:root[data-sky-glass] #alertBanner .x{ border-color:var(--sg-edge); color:var(--sg-muted) }
:root[data-sky-glass] #alertBanner .x:hover{ color:var(--sg-ink); border-color:#FF3D77 }

/* ---- the "in range" list, redone as a glass card ------------------------- */
:root[data-sky-glass] #fleetPanel, :root[data-sky-glass] #logPanel{ background:rgba(12,14,18,.35) }
:root[data-sky-glass] #fleetPanel .panel, :root[data-sky-glass] #logPanel .panel{
  max-width:560px; padding:18px 18px 14px; border-radius:18px; border:0;
  background:var(--sg-tint); -webkit-backdrop-filter:blur(16px) saturate(1.2); backdrop-filter:blur(16px) saturate(1.2);
  box-shadow:0 0 0 1px var(--sg-edge), 0 24px 70px rgba(0,0,0,.45); color:var(--sg-ink);
  position:relative;
}
:root[data-sky-glass] #fleetPanel .panel::before, :root[data-sky-glass] #logPanel .panel::before{
  content:""; position:absolute; left:18px; top:0; width:72px; height:3px;
  background:linear-gradient(90deg,#FF3D77 0,#FF3D77 33.333%,#00E0C6 33.333%,#00E0C6 66.666%,#2F7BFF 66.666%);
}
:root[data-sky-glass] #fleetPanel h3, :root[data-sky-glass] #logPanel h3{
  font:800 clamp(1.05rem,1.6vw,1.35rem)/1.15 var(--display); letter-spacing:-.02em; color:var(--sg-ink);
  margin:4px 4px 10px;
}
:root[data-sky-glass] #fleetPanel .row{
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px;
  padding:8px 10px; margin:0 -6px; border:0; border-radius:10px;
  font:400 13px/1.3 var(--body);
}
:root[data-sky-glass] #fleetPanel .row + .row{ box-shadow:0 -1px 0 var(--sg-edge) }
:root[data-sky-glass] #fleetPanel .row > span:first-child{ display:flex; align-items:center; gap:10px; min-width:0 }
:root[data-sky-glass] #fleetPanel .row b{
  flex:none; min-width:74px; text-align:center; padding:3px 7px; border-radius:6px;
  font:600 12px/1.2 var(--mono); letter-spacing:.02em; color:var(--sg-ink);
  background:rgba(255,255,255,.08); box-shadow:inset 0 -2px 0 #2F7BFF;
}
:root[data-sky-glass][data-theme="day"] #fleetPanel .row b{ background:rgba(17,19,24,.06) }
:root[data-sky-glass] #fleetPanel .row .frow-sub{
  min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--sg-muted);
}
:root[data-sky-glass] #fleetPanel .row .when{ font:500 12px/1.2 var(--mono); color:var(--sg-muted); white-space:nowrap; text-align:right }
:root[data-sky-glass] #fleetPanel .row[data-hex]{ cursor:pointer }
:root[data-sky-glass] #fleetPanel .row[data-hex]:hover,
:root[data-sky-glass] #fleetPanel .row[data-hex]:focus-visible{ background:rgba(0,224,198,.12); box-shadow:none; outline:none }
:root[data-sky-glass] #fleetPanel .row[data-hex]:hover b{ box-shadow:inset 0 -2px 0 #00E0C6 }
:root[data-sky-glass] #fleetPanel .actions, :root[data-sky-glass] #logPanel .actions{ margin-top:14px }
:root[data-sky-glass] #fleetPanel .done2, :root[data-sky-glass] #logPanel .done2{ background:#FF3D77; color:#12101A; border-radius:10px }

/* Share flight: a teal chip beside Hide info, and a small toast for "copied". */
:root[data-sky-glass] header #sgShareBtn{ --chip:#00E0C6; order:6 }
#sgToast{ position:fixed; left:50%; bottom:28px; z-index:90; transform:translate(-50%,12px); opacity:0;
  padding:9px 14px; border-radius:10px; font:500 13px/1.2 var(--body,system-ui); color:#F7F8FA;
  background:rgba(12,14,18,.82); box-shadow:0 0 0 1px rgba(255,255,255,.14), 0 10px 30px rgba(0,0,0,.35);
  transition:opacity .2s ease, transform .2s ease; pointer-events:none }
#sgToast.show{ opacity:1; transform:translate(-50%,0) }


/* =====================================================================
   THE ORIGINAL SKY (any board style other than Glass): the same features,
   in its own starfield look, with the text moved onto the board fonts.
   ===================================================================== */
:root:not([data-sky-glass]){
  --sg-ink:var(--city); --sg-muted:var(--muted); --sg-edge:var(--faint);
  --sg-tint:var(--panel); --sg-tint-soft:var(--panel2);
}

/* Type: Archivo for names, Plex Mono for numbers, Plex Sans for prose —
   the colours and gradients stay as they were. */
:root:not([data-sky-glass]) header .tag{ font-family:var(--display); font-weight:800; letter-spacing:.28em }
:root:not([data-sky-glass]) header .clock{ font-family:var(--mono); letter-spacing:-.03em }
:root:not([data-sky-glass]) header a, :root:not([data-sky-glass]) header button{ font-family:var(--body); font-weight:600; letter-spacing:0 }
:root:not([data-sky-glass]) .airline,
:root:not([data-sky-glass]) .route .city{ font-family:var(--display); font-weight:800; letter-spacing:-.03em }
:root:not([data-sky-glass]) .flight,
:root:not([data-sky-glass]) .dist,
:root:not([data-sky-glass]) .route .code,
:root:not([data-sky-glass]) .progress .lbl,
:root:not([data-sky-glass]) .status{ font-family:var(--mono); letter-spacing:0 }
:root:not([data-sky-glass]) .subcity{ font-family:var(--body); font-weight:400 }
:root:not([data-sky-glass]) footer{ font-family:var(--mono); letter-spacing:0 }
:root:not([data-sky-glass]) #settings, :root:not([data-sky-glass]) #fleetPanel, :root:not([data-sky-glass]) #logPanel{ font-family:var(--body) }
:root:not([data-sky-glass]) #settings h3, :root:not([data-sky-glass]) #fleetPanel h3, :root:not([data-sky-glass]) #logPanel h3{ font-family:var(--display); letter-spacing:-.01em }

/* Planes on the dark card map: pale planes, and names only on hover —
   the card is small and fifty callsigns would bury it. */
:root:not([data-sky-glass]) .sg-plane path{ fill:#DCEBFF; stroke:#0A1220; stroke-width:1 }
:root:not([data-sky-glass]) .sg-plane{ width:18px; height:18px }
:root:not([data-sky-glass]) .sg-plane svg{ width:18px; height:18px }
:root:not([data-sky-glass]) .sg-plane-lbl{ display:none }
:root:not([data-sky-glass]) .sg-plane-wrap:hover .sg-plane-lbl{ display:block }
:root:not([data-sky-glass]) .sg-poi-lbl{ color:#F7F8FA; text-shadow:0 0 3px #000, 0 0 3px #000, 0 1px 2px #000 }

/* The chip, as the panel's top row. */
:root:not([data-sky-glass]).sky-pinned #sgPinChip{
  display:flex; align-items:center; justify-content:space-between; gap:10px; width:fit-content; max-width:100%;
  margin:0 0 1vmin; padding:5px 5px 5px 12px; border-radius:10px; color:var(--city);
  font:500 clamp(12px,1.4vw,15px)/1.2 var(--body); background:rgba(0,224,198,.1);
  box-shadow:inset 0 0 0 1px rgba(0,224,198,.45);
}
:root:not([data-sky-glass]) #sgRoute{ border-top-color:var(--faint) }

/* The "in range" list: rows you can click. */
:root:not([data-sky-glass]) #fleetPanel .row[data-hex]{ cursor:pointer; border-radius:8px; padding-left:6px; padding-right:6px }
:root:not([data-sky-glass]) #fleetPanel .row[data-hex]:hover{ background:rgba(125,184,255,.10) }
:root:not([data-sky-glass]) #fleetPanel .row b{ font-family:var(--mono) }
:root:not([data-sky-glass]) #fleetPanel .row .when{ font-family:var(--mono) }

/* With the photo hidden, the card map can't borrow the photo's height (it
   collapsed to 2px in the stacked layout). It has its own now. */
:root:not([data-sky-glass]) #miniMap{ min-height:180px }
@media (max-width:760px), (orientation:portrait){
  :root:not([data-sky-glass]).no-photo #miniMap{ height:34vh; max-height:none; flex:1 1 auto }
}
:root:not([data-sky-glass]).no-photo .side{ height:min(50vh,100%) }

/* ---- Sky's settings panel, in the boards' look ---------------------------
   Graphite panel, Archivo headings, brand-pink primary actions, teal for the
   "on" side of a switch. Both Skys (the panel is shared). Selectors carry the
   panel's own id and !important where settings-ui.js's injected rules do. */
:root #settings.tbset{ background:rgba(8,10,14,.6) !important }
:root #settings.tbset .panel{
  background:#14171C !important; border:1px solid #2C3038 !important; border-radius:18px !important;
  box-shadow:0 30px 90px rgba(0,0,0,.6) !important; color:#F7F8FA !important; position:relative; overflow:hidden;
}
:root #settings.tbset .panel::before{
  content:""; position:absolute; left:22px; top:0; width:104px; height:3px; z-index:2;
  background:linear-gradient(90deg,#FF3D77 0,#FF3D77 33.333%,#00E0C6 33.333%,#00E0C6 66.666%,#2F7BFF 66.666%);
}
:root #settings.tbset .tbset-head, :root #settings.tbset .tbset-tabs{ background:#14171C !important; border-color:#2C3038 !important }
:root #settings.tbset .tbset-head h3, :root #settings.tbset h3{ font-family:var(--display) !important; font-weight:800 !important; letter-spacing:-.02em !important; color:#F7F8FA !important }
:root #settings.tbset .tbset-head input{ background:#0F1115 !important; border:1px solid #2C3038 !important; color:#F7F8FA !important; border-radius:10px !important }
:root #settings.tbset .tbset-head button{ background:transparent !important; border:1px solid #2C3038 !important; color:#A8AFBA !important; border-radius:10px !important }
:root #settings.tbset .tbset-head button:hover{ color:#F7F8FA !important; border-color:#FF3D77 !important }
/* Tabs: quiet pills; the open one is solid white ink on graphite with a pink underline. */
:root #settings.tbset .tbset-tab{
  font-family:var(--body) !important; font-weight:600 !important; letter-spacing:0 !important;
  background:transparent !important; color:#A8AFBA !important; border:1px solid #2C3038 !important;
}
:root #settings.tbset .tbset-tab[aria-selected="true"], :root #settings.tbset .tbset-tab.active{
  background:#22262E !important; color:#F7F8FA !important; border-color:#3A3F4A !important;
  box-shadow:inset 0 -3px 0 #FF3D77 !important;
}
:root #settings.tbset .lbl, :root #settings.tbset .accent-lbl{
  font-family:var(--body) !important; font-weight:600 !important; color:#F7F8FA !important; letter-spacing:0 !important; text-transform:none !important;
}
/* Switches: one track, the chosen side teal. */
:root #settings.tbset .seg{ border-radius:10px !important; overflow:hidden; border:1px solid #2C3038 !important; background:#0F1115 !important; gap:0 !important }
:root #settings.tbset .seg button{
  font-family:var(--body) !important; font-weight:600 !important; border:0 !important; border-radius:0 !important;
  background:transparent !important; color:#A8AFBA !important;
}
:root #settings.tbset .seg button + button{ box-shadow:inset 1px 0 0 #2C3038 !important }
:root #settings.tbset .seg button:hover{ color:#F7F8FA !important }
:root #settings.tbset .seg button.active{ background:#00E0C6 !important; color:#0F1115 !important }
/* Fields and actions. */
:root #settings.tbset .locrow input, :root #settings.tbset .locrow select{
  background:#0F1115 !important; border:1px solid #2C3038 !important; color:#F7F8FA !important; border-radius:10px !important; font-family:var(--body) !important;
}
:root #settings.tbset .locrow input:focus{ border-color:#00E0C6 !important; outline:none }
:root #settings.tbset .locrow button, :root #settings.tbset .done{
  background:#FF3D77 !important; color:#12101A !important; border:0 !important; font-family:var(--body) !important; font-weight:700 !important;
}
:root #settings.tbset .locrow button:hover, :root #settings.tbset .done:hover{ background:#FF6A97 !important }
:root #settings.tbset .ghostbtn{ border-color:#2C3038 !important; color:#A8AFBA !important; font-family:var(--body) !important }
:root #settings.tbset .ghostbtn:hover{ color:#F7F8FA !important; border-color:#00E0C6 !important }
:root #settings.tbset .sw.active{ border-color:#F7F8FA !important }
/* No empty band under "Watch a flight" when there's nothing to say. */
:root #settings.tbset #watchMsg:empty, :root #settings.tbset #skyAddrMsg:empty, :root #settings.tbset #goveeMsg:empty{ min-height:0 !important; margin:0 !important }
:root #settings.tbset .tbset-sec{ border-bottom-color:#2C3038 !important }
:root #settings.tbset .tbset-foot{ background:#14171C !important; border-top-color:#2C3038 !important }

/* ---- Follow camera, view switch, dark map (sky-glass.js §4) ----------------- */
:root[data-sky-glass] header #sgViewBtn{ --chip:#2F7BFF; order:6 }
:root[data-sky-glass] header #sgDarkBtn{ --chip:#00E0C6; order:6 }
:root[data-sky-glass] header #sgDarkBtn[aria-pressed="true"]{ border-color:#00E0C6 }
/* The original Sky's header has no chip styling; the view switch matches its own buttons. */

/* The camera bar: bottom right, over the map, clear of the flight card. */
#sgCam{ display:none }
:root[data-sky-glass] #sgCam.show{
  position:fixed; right:clamp(8px,3vw,38px); bottom:calc(14px + env(safe-area-inset-bottom, 0px)); z-index:5;
  display:flex; align-items:center; gap:6px; flex-wrap:wrap; justify-content:flex-end; max-width:min(560px, 92vw);
  transition:opacity .45s ease;
}
:root[data-sky-glass] #sgCam button,
:root[data-sky-glass] #sgCam .sg-cam-read{
  font:600 13px/1.2 var(--body,system-ui); color:var(--sg-ink);
  background:var(--sg-tint); border:1px solid var(--sg-edge); border-radius:10px;
  padding:9px 13px; -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
:root[data-sky-glass] #sgCam button{ cursor:pointer; box-shadow:inset 0 -3px 0 #2F7BFF }
:root[data-sky-glass] #sgCam button:hover{ border-color:#2F7BFF }
:root[data-sky-glass] #sgCam .sg-cam-follow[aria-pressed="true"]{ background:#FF3D77; border-color:#FF3D77; color:#fff; box-shadow:none }
:root[data-sky-glass] #sgCam .sg-cam-recentre{ background:#00E0C6; border-color:#00E0C6; color:#0F1115; box-shadow:none }
:root[data-sky-glass] #sgCam .sg-cam-read{ font-weight:500; font-family:"IBM Plex Mono",ui-monospace,monospace; font-size:12px }
:root[data-sky-glass] #sgCam [hidden]{ display:none }
@media (pointer:coarse){ :root[data-sky-glass] #sgCam button{ padding:12px 16px; font-size:14px } }
/* Idle: the buttons fade like the header's, but the live readout stays. */
:root[data-sky-glass].sg-idle #sgCam button{ opacity:0; pointer-events:none }
:root[data-sky-glass] #sgCam button{ transition:opacity .45s ease }
:root[data-sky-glass].sg-bare #sgCam .sg-cam-read{ display:none }
/* While following, the camera moves the plane 8-30 times a second; the
   marker's own 1.4 s glide would make it trail behind the centre. */
:root[data-sky-glass].sg-following .mini-veh-icon{ transition:none }
:root[data-sky-glass].sg-following .mini-veh-icon svg{ transition:transform .6s ease }

/* Dark map */
:root[data-sky-glass][data-sky-dark] body,
:root[data-sky-glass][data-sky-dark] body > #miniMap .leaflet-container{ background:#0B0D12 }
:root[data-sky-glass][data-sky-dark] .mini-here-label{ color:#F7F8FA; text-shadow:0 0 3px #000, 0 0 2px #000 }
:root[data-sky-glass][data-sky-dark] .sg-plane path{ fill:#DCEBFF; stroke:#0A1220 }
/* Listen to ATC — a link out to LiveATC, styled as one of the bar's chips. */
:root[data-sky-glass] #sgCam .sg-cam-atc{
  font:600 13px/1.2 var(--body,system-ui); color:var(--sg-ink); text-decoration:none;
  background:var(--sg-tint); border:1px solid var(--sg-edge); border-radius:10px;
  padding:9px 13px; box-shadow:inset 0 -3px 0 #00E0C6;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); transition:opacity .45s ease;
}
:root[data-sky-glass] #sgCam .sg-cam-atc:hover{ border-color:#00E0C6 }
:root[data-sky-glass].sg-idle #sgCam .sg-cam-atc{ opacity:0; pointer-events:none }
@media (pointer:coarse){ :root[data-sky-glass] #sgCam .sg-cam-atc{ padding:12px 16px; font-size:14px } }
/* Narrow screens: the flight card spans the full width at the bottom, so the
   camera bar moves up under the header, left-aligned (Close up / zoom sit right). */
@media (max-width:760px){
  :root[data-sky-glass] #sgCam.show{
    top:calc(var(--sg-head, 84px) + 10px); bottom:auto; left:clamp(8px,3vw,38px); right:auto;
    justify-content:flex-start; max-width:calc(100vw - 150px);
  }
}

/* ---- header, organised: ‹ board · More · ⚙ — the rest lives in More ------- */
:root[data-sky-glass] #sgMore{ order:6; position:relative }
:root[data-sky-glass] header #sgMoreBtn{ --chip:#00E0C6 }
:root[data-sky-glass] header #sgMoreBtn::after{ content:" \25BE"; opacity:.8 }
:root[data-sky-glass] #sgMore.open #sgMoreBtn{ border-color:#00E0C6 }
:root[data-sky-glass] #sgMenu{
  position:absolute; right:0; top:calc(100% + 8px); z-index:50; min-width:230px;
  display:flex; flex-direction:column; gap:2px; padding:6px; border-radius:14px;
  background:rgba(16,18,23,.95); border:1px solid var(--sg-edge); box-shadow:0 18px 50px rgba(0,0,0,.45);
}
:root[data-sky-glass] #sgMenu[hidden]{ display:none }
:root[data-sky-glass] header #sgMenu > a,
:root[data-sky-glass] header #sgMenu > button{
  order:0 !important; margin:0 !important; width:100%; text-align:left; display:block;
  background:none !important; border:0 !important; box-shadow:none !important; border-radius:9px;
  padding:11px 12px; font-weight:600; color:var(--sg-ink); text-decoration:none; opacity:1 !important; pointer-events:auto !important;
}
:root[data-sky-glass] header #sgMenu > a:hover,
:root[data-sky-glass] header #sgMenu > button:hover{ background:rgba(255,255,255,.08) !important }
:root[data-sky-glass] header #sgMenu > [aria-pressed="true"]{ color:#00E0C6 }
:root[data-sky-glass] header #sgMenu #fsBtn::after{ content:"Full screen"; }
:root[data-sky-glass] header #sgMenu #tourBtn::before{ content:"" }
/* Follow does what Close up did, so the map's own toggle goes. */
:root[data-sky-glass] #miniZoomBtn{ display:none !important }
/* The camera bar's buttons sit closer together now their labels are short. */
:root[data-sky-glass] #sgCam.show{ gap:6px }
/* The header is its own layer (z2) under the camera bar (z5); lift it while the menu is open. */
:root[data-sky-glass].sg-menu-open header{ z-index:30 }

/* =============================================================================
   Sky header + map controls, calmer: neutral glass, joined groups, no rainbow
   underlines. Only a state (Following, a pressed toggle) gets colour.
   ============================================================================= */
:root[data-sky-glass] header{ align-items:center; gap:10px }
:root[data-sky-glass] #sgActs{
  order:6; margin-left:auto; display:flex; align-items:stretch; height:44px;
  background:var(--sg-tint); border:1px solid var(--sg-edge); border-radius:12px; padding:3px; gap:2px;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
:root[data-sky-glass] #sgActs > a, :root[data-sky-glass] #sgActs > button, :root[data-sky-glass] #sgActs #sgMoreBtn{
  order:0 !important; margin:0 !important; height:100%; display:flex; align-items:center; padding:0 14px !important;
  background:none !important; border:0 !important; box-shadow:none !important; border-radius:9px !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  color:var(--sg-ink) !important; font-weight:600; font-size:14px; text-decoration:none;
}
:root[data-sky-glass] #sgActs > a:hover, :root[data-sky-glass] #sgActs > button:hover,
:root[data-sky-glass] #sgActs #sgMoreBtn:hover, :root[data-sky-glass] #sgMore.open #sgMoreBtn{ background:rgba(255,255,255,.1) !important }
:root[data-sky-glass] #sgActs #sgMore{ order:0; display:flex }
:root[data-sky-glass] #sgActs > #setBtn{ font-size:16px; padding:0 12px !important }
:root[data-sky-glass] #sgActs > * + *{ position:relative }
:root[data-sky-glass] #sgActs > * + *::before{ content:""; position:absolute; left:-1px; top:9px; bottom:9px; width:1px; background:var(--sg-edge) }
:root[data-sky-glass] header .clock{ order:7; height:44px; display:flex; align-items:center; padding:0 14px; margin-left:0; border-radius:12px; box-sizing:border-box }
/* the idle fade still applies to the joined control as a whole */
:root[data-sky-glass].sg-idle #sgActs{ opacity:0; pointer-events:none }
:root[data-sky-glass] #sgActs{ transition:opacity .45s ease }
:root[data-sky-glass].sg-idle #sgActs > *{ opacity:1 }

/* the menu */
:root[data-sky-glass] #sgMenu{ top:calc(100% + 10px); right:-4px; min-width:220px; padding:6px }
:root[data-sky-glass] header #sgMenu > a, :root[data-sky-glass] header #sgMenu > button{ font-size:14px; padding:10px 12px; height:auto }
:root[data-sky-glass] header #sgMenu #fsBtn::before, :root[data-sky-glass] header #sgMenu #fsBtn::after{ content:none !important }
:root[data-sky-glass] .sg-menu-sep{ height:1px; background:var(--sg-edge); margin:5px 8px }
/* while it is open, the whole header sits above the map controls and the card */
:root[data-sky-glass].sg-menu-open header{ z-index:40 }

/* map controls: one segmented bar */
:root[data-sky-glass] #sgCam.show{
  gap:2px; padding:3px; border-radius:12px; background:var(--sg-tint); border:1px solid var(--sg-edge);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); flex-wrap:nowrap; max-width:none;
}
:root[data-sky-glass] #sgCam button, :root[data-sky-glass] #sgCam .sg-cam-atc{
  background:none !important; border:0 !important; box-shadow:none !important; border-radius:9px !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  padding:9px 13px !important; font-size:14px !important; font-weight:600; color:var(--sg-ink) !important; white-space:nowrap;
}
:root[data-sky-glass] #sgCam button:hover, :root[data-sky-glass] #sgCam .sg-cam-atc:hover{ background:rgba(255,255,255,.1) !important }
:root[data-sky-glass] #sgCam .sg-cam-follow[aria-pressed="true"]{ background:#FF3D77 !important; color:#fff !important }
:root[data-sky-glass] #sgCam .sg-cam-recentre{ background:#00E0C6 !important; color:#0F1115 !important }
:root[data-sky-glass] #sgCam > * + *:not(.sg-cam-read){ position:relative }
:root[data-sky-glass] #sgCam .sg-cam-read{
  order:9; background:none !important; border:0 !important; padding:0 10px 0 6px !important; font-size:12px; color:var(--sg-muted)
}
:root[data-sky-glass].sg-idle #sgCam.show{ opacity:.0; pointer-events:none }
:root[data-sky-glass].sg-idle.sg-following #sgCam.show{ opacity:1; pointer-events:auto }
:root[data-sky-glass].sg-idle.sg-following #sgCam.show > :not(.sg-cam-read):not(.sg-cam-follow){ display:none }
@media (max-width:760px){
  :root[data-sky-glass] #sgCam.show{ max-width:calc(100vw - 24px); overflow-x:auto; scrollbar-width:none }
  :root[data-sky-glass] #sgActs > a, :root[data-sky-glass] #sgActs > button, :root[data-sky-glass] #sgActs #sgMoreBtn{ padding:0 11px !important }
}
/* night.html rewrites the full-screen button's icon as you toggle it, so the
   menu labels it in CSS: hide the icon, show words. */
:root[data-sky-glass] header #sgMenu #fsBtn{ font-size:0 !important }
:root[data-sky-glass] header #sgMenu #fsBtn > *{ display:none }
:root[data-sky-glass] header #sgMenu #fsBtn::after{ content:"Full screen" !important; font-size:14px; font-weight:600 }
/* ATC: ▶ plays the right feed in LiveATC's own pop-up; ▾ lists the others. */
:root[data-sky-glass] #sgCam .sg-cam-atcmore{ padding:9px 9px !important; margin-left:-4px }
#sgAtcList{ position:fixed; z-index:60; width:240px; padding:6px; border-radius:14px;
  background:rgba(16,18,23,.96); border:1px solid rgba(255,255,255,.14); box-shadow:0 18px 50px rgba(0,0,0,.45);
  font-family:var(--body, system-ui, sans-serif) }
#sgAtcList[hidden]{ display:none }
#sgAtcList .sg-atc-h{ font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#9AA3B2; padding:6px 10px 4px }
#sgAtcList button, #sgAtcList a{ display:block; width:100%; text-align:left; border:0; background:none; color:#F7F8FA;
  font:600 14px/1.2 var(--body, system-ui, sans-serif); padding:10px; border-radius:9px; cursor:pointer; text-decoration:none }
#sgAtcList button:hover, #sgAtcList a:hover{ background:rgba(255,255,255,.08) }
#sgAtcList button.on{ color:#00E0C6 }
#sgAtcList button.on::before{ content:"\25B6  " }
#sgAtcList .sg-atc-all{ color:#7FB2FF; font-weight:500; font-size:13px; border-top:1px solid rgba(255,255,255,.1); border-radius:0 0 9px 9px; margin-top:4px }
