/* A SIDE PANEL (ui/SidePanel.astro): at its side under the header, the page's height, sliding in; large, the most of the screen */
.g-side { position: fixed; z-index: var(--g-z-side); top: var(--g-head-h); bottom: 0; left: 0; width: min(var(--g-side-w), 82%); display: flex; flex-direction: column;
  background: var(--g-surface); box-shadow: var(--g-shadow-lift); translate: -105% 0; visibility: hidden; transition: translate var(--g-mid) var(--g-ease), width var(--g-mid) var(--g-ease), visibility 0s linear var(--g-mid); }
.g-side[data-side="right"] { left: auto; right: 0; translate: 105% 0; }
.g-side.is-open { translate: 0 0; visibility: visible; transition: translate var(--g-mid) var(--g-ease), width var(--g-mid) var(--g-ease); }
.g-side.is-large { width: min(var(--g-side-large), 82%); }   /* the page beside it always showing: a growl dragged out lands there */
@media (max-width: 899px) { .g-side, .g-side.is-large { width: 100%; } }   /* a phone: all the way across (Maayan, 2026-11-27: "left right panels open all the way") */
.g-side__head { display: flex; align-items: center; gap: var(--g-2); padding: var(--g-3) var(--g-4); }
.g-side__head .g-title { flex: 1; margin: 0; } .g-side__tools { display: flex; gap: var(--g-2); }
.g-side__body { flex: 1; min-height: 0; overflow: auto; padding: 0 var(--g-4) var(--g-4); }
/* OVER THE PAGE, never pushing it (Maayan, 2026-11-28: "Cancel that experience entirely. Panels open above the arena") */
