/* SPDX-License-Identifier: Apache-2.0 */
/* Raspberry Pi gateway guide: screenshots of the station's web page. */

/* A row of screenshots; each opens full size. Two across on a phone. */
.page-panel .shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin: 14px 0 6px;
  padding: 0;
  list-style: none;
  align-items: start;
}
.page-panel .shots li { margin: 0; }
.page-panel .shots figure { margin: 0; }
.page-panel .shots a { display: block; }
.page-panel .shots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d0d12;
}
.page-panel .shots a:hover img,
.page-panel .shots a:focus-visible img { border-color: var(--accent); }
.page-panel .shots figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--body);
}
.page-panel .shots figcaption strong { color: var(--fg); font-weight: 400; }
.page-panel .shots-note {
  font-size: 12px;
  color: var(--dim);
}

/* The App diagram is short and wide: keep it near the size of the other diagrams. */
.page-panel .pi-app-dgm svg.dgm {
  display: block;
  max-width: 520px;
  margin: 0 auto;
}

/* Diagram pieces the shared kit lacks (see docs.css section 8). */
.live-dgm svg.dgm .lbl { font-size: 10px; fill: var(--fg); }
.live-dgm svg.dgm .big { font-size: 15px; }
/* inside the Pi: green line, packet and arrowhead */
svg.dgm .gwl { stroke: var(--mode-internet-radio); stroke-width: 1.4; fill: none; }
svg.dgm .seg.is-live .gwl { stroke-width: 2.3; }
svg.dgm .seg-gw .pkt { stroke: #d4ffc9; filter: drop-shadow(0 0 4px var(--mode-internet-radio)); }
svg.dgm .mk-gw { fill: var(--mode-internet-radio); }
svg.dgm .pi-bracket { fill: none; stroke: var(--mode-internet-radio); stroke-width: 1; }
/* home Wi-Fi: a dashed network line */
svg.dgm .net.lan { stroke-dasharray: 5 3; }
/* a radio path the hill blocks */
svg.dgm .blocked { fill: none; stroke: var(--emergency); stroke-width: 1.3; stroke-dasharray: 2 5; }
svg.dgm .on-emergency { fill: var(--emergency); }
/* the internet, as a globe at the end of the gateway's line */
svg.dgm .globe { fill: #050509; stroke: var(--mode-internet); stroke-width: 1.3; transition: fill 0.3s ease; }
svg.dgm .globe-l { fill: none; stroke: var(--mode-internet); stroke-width: 1; }
svg.dgm .is-on .globe { fill: rgba(0, 229, 255, 0.1); }
