.garland-network { max-width: 920px; margin: auto; color: #fff0ce; }
.network-toolbar, .network-zoom, .network-pager { display: flex; gap: .65rem; justify-content: space-between; flex-wrap: wrap; }
.garland-network h1 { margin: 1rem 0 .4rem; }
.network-intro, .network-status { color: #f6e7ca; }
.network-graph { position: relative; isolation: isolate; height: clamp(360px, 60vh, 650px); overflow: hidden; touch-action: none; user-select: none; cursor: grab; border: 1px solid #a7834a; border-radius: 22px; background: radial-gradient(ellipse at center, #284435 0%, #112b23 58%, #081b16 100%); }
.network-graph:active { cursor: grabbing; }
.network-graph::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .68; background: radial-gradient(circle at 16% 19%, #fff0b6 0, #fff0b654 1px, transparent 3px) 0 0 / 129px 167px, radial-gradient(circle at 73% 62%, #ffd8a998 0, transparent 2.5px) 0 0 / 163px 137px; }
.network-graph svg, .network-nodes { position: absolute; inset: 0; width: 100%; height: 100%; }
.network-graph path { fill: none; stroke: #e7b76c; stroke-width: 1.5; opacity: .85; }
.network-node { position: absolute; transform: translate(-50%, -50%); border: 0; padding: 0; background: transparent; cursor: pointer; aspect-ratio: 1; }
.network-node .lamp-sprite { pointer-events: none; }
.network-node:focus-visible { outline: 3px solid #fff1b4; outline-offset: 3px; border-radius: 50%; }
.network-zoom { justify-content: center; margin: .75rem 0; }
.network-selected { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; padding: 1rem; border: 1px solid #a7834a; border-radius: 16px; background: #1b352a; }
.network-selected strong { flex: 1 1 55%; font-size: 1.2rem; }
.network-selected span { color: #f8dfb1; }
.network-list { display: grid; gap: .7rem; }
.network-list-item { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; padding: .7rem; background: #1b352a; border: 1px solid #a7834a; border-radius: 16px; }
.network-list-art { width: 64px; flex: 0 0 64px; }
.network-list-item > div:nth-child(2) { flex: 1 1 140px; overflow-wrap: anywhere; }
.network-list-item p { margin: .3rem 0 0; color: #f8dfb1; }
.network-pager { margin-top: 1rem; }
.garland-network [hidden] { display: none !important; }
@media (max-width: 400px) { .network-graph { height: 360px; } .network-zoom .action { flex: 1 1 130px; } }

.garland-shell.network-public-shell { max-width: none; min-height: 100dvh; padding: 1rem clamp(1rem, 3vw, 3rem); }
.network-public { max-width: none; min-height: calc(100dvh - 2rem); display: flex; flex-direction: column; }
.network-header { display: grid; gap: .75rem; align-items: end; margin-bottom: .85rem; }
.garland-network .network-title h1 { margin: .2rem 0 .45rem; font-size: clamp(2.15rem, 4.1vw, 3.8rem); }
.network-toolbar { justify-content: flex-start; }
.network-public .network-header { grid-template-columns: minmax(0, 1fr) auto; }
.network-public .network-toolbar { justify-content: flex-end; }
.network-node.network-center { filter: drop-shadow(0 0 10px #ffd78388); }
.network-node[aria-pressed="true"]::after { content: ""; position: absolute; inset: 3%; border: 1px solid #ffe4a3; border-radius: 50%; pointer-events: none; }
.network-public .network-graph { height: auto; min-height: 420px; flex: 1 1 55vh; }
.network-public:is(:fullscreen, .network-expanded) { max-width: none; width: 100%; height: 100%; overflow: auto; padding: 1rem; background: #071e19; }
.network-public.network-expanded { position: fixed; inset: 0; z-index: 20; }
.network-public:is(:fullscreen, .network-expanded) .network-graph { min-height: 300px; }
@media (max-width: 970px) {
  .network-public .network-header { grid-template-columns: 1fr; }
  .network-public .network-toolbar { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .network-public .network-graph { min-height: 320px; flex-basis: 42dvh; }
}
.public-lantern-story { white-space: pre-wrap; overflow-wrap: anywhere; }
a.public-map-link { text-decoration: none; }

.garland-lights-frame {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: #071d17;
}
.garland-lights-frame[open] {
  display: flex;
  flex-direction: column;
}
.garland-lights-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 6px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid #495a40;
}
.garland-lights-toolbar .action {
  width: auto;
  min-height: 44px;
  margin: 0;
}
.garland-lights-frame iframe {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
}
