/* Zeltrix ⓘ sheet (src/assets/info-sheet.js): the round ⓘ button, the sections it opens, and the sheet itself. Dark, like
   the app's sheets, in both site themes (the sheet floats over the page). No inline styles (CSP). */
.zx-info-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 32px; height: 32px; margin: -6px -4px -6px 2px; border-radius: 50%; color: rgba(255, 255, 255, .72); vertical-align: middle; text-decoration: none; }
.zx-info-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.zx-info-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.zx-info-btn:focus-visible { outline: 2px solid var(--lime, #c6f432); outline-offset: 1px; color: #fff; }
/* With the script on, the sections live in the sheet only (without it they are part of the page, reached by the link). */
html.zx-info-on .zx-info-src { display: none; }
html .zx-isheet .zx-info-src, html.zx-info-on .zx-isheet .zx-info-src { display: block; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.zx-isheet .zx-info-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.zx-isheet { width: 100%; max-width: 640px; height: fit-content; max-height: none; margin: auto auto 0; padding: 0; border: 0; background: transparent; color: #dfe6fb; overflow: visible; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.zx-isheet::backdrop { background: rgba(2, 8, 26, .62); }
.zx-isheet-panel { --zx-drag: 0px; display: flex; flex-direction: column; max-height: min(86vh, 860px); border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; border-radius: 22px 22px 0 0; background: linear-gradient(180deg, #16224d, #0e1838 40%); box-shadow: 0 -12px 40px rgba(0, 0, 0, .5); transform: translateY(var(--zx-drag)); padding-bottom: env(safe-area-inset-bottom, 0px); }
.zx-isheet-grip { flex: 0 0 auto; height: 22px; cursor: grab; touch-action: none; }
.zx-isheet-grip::before { content: ""; display: block; width: 40px; height: 5px; margin: 9px auto 0; border-radius: 999px; background: rgba(255, 255, 255, .3); }
.zx-isheet-head { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 8px 6px 20px; touch-action: none; }
.zx-isheet-title { flex: 1 1 auto; min-width: 0; margin: 0; color: #fff; font-size: 19px; font-weight: 800; line-height: 1.25; }
.zx-isheet-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.zx-isheet-x svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.zx-isheet-x:focus-visible { outline: 2px solid var(--lime, #c6f432); outline-offset: 1px; }
.zx-isheet-body { flex: 1 1 auto; min-height: 0; padding: 4px 20px 24px; overflow-y: auto; overscroll-behavior: contain; font-size: 14px; line-height: 1.5; }
.zx-isheet-body p { margin: 0 0 10px; }
.zx-isheet-body a:not(.button) { color: #8fdcff; }
html.zx-isheet-open body { overflow: hidden; }
@media (min-width: 720px) {
  .zx-isheet { margin: auto; }
  .zx-isheet-panel { border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  .zx-isheet[open] .zx-isheet-panel { animation: zx-isheet-up .24s cubic-bezier(.2, .8, .2, 1) both; }
  .zx-isheet-panel:not(.is-dragging) { transition: transform .16s ease; }
  .zx-isheet-panel.is-closing { transform: translateY(100%); transition: transform .17s ease-in; }
  .zx-isheet[open]::backdrop { animation: zx-isheet-fade .2s ease both; }
}
@keyframes zx-isheet-up { from { transform: translateY(100%); } to { transform: translateY(var(--zx-drag)); } }
@keyframes zx-isheet-fade { from { opacity: 0; } to { opacity: 1; } }
