/* Průvodce (guide-ui.js): the kit's window (l2-wnd.css: TutorialViewerWnd's frame, Btn1, the scroll bar), the chapters a ListCtrl's
   16 px rows. Every size in the client's pixels times --wpx; sharp corners, the client's colours only: #dcdcdc text, #a3a3a3 grey,
   #b09b79 headings over a 1 px SquareGray line, as the patch notes window (test-notes.css) draws them. */
/* the kit's .l2-btn and .l2-scroll are position:relative after its .l2p, so a piece placed by at() would fall into the flow */
.gd-wnd .l2p{position:absolute}
.gd-wnd .l2-scroll-view{padding:0 calc(3 * var(--wpx)) calc(4 * var(--wpx)) calc(2 * var(--wpx));overflow-wrap:anywhere}
.gd-h{margin:calc(2 * var(--wpx)) 0 calc(4 * var(--wpx));color:#b09b79;border-bottom:var(--wpx) solid rgba(63,62,63,.8)}
.gd-p{margin:0 0 calc(6 * var(--wpx));color:#dcdcdc}
.gd-note{color:#a3a3a3}
.gd-img{display:block;width:100%;height:auto;aspect-ratio:16/9;margin:0 0 calc(5 * var(--wpx));box-sizing:border-box;
 border:var(--wpx) solid rgba(63,62,63,.8);user-select:none;-webkit-user-select:none;pointer-events:none;
 image-rendering:auto}  /* a screenshot, not a client texture: smoothed, not the window's pixelated (its text read at 1.5, 15. 11. 2026) */
.gd-keys{display:grid;grid-template-columns:max-content 1fr;column-gap:calc(8 * var(--wpx));row-gap:calc(2 * var(--wpx));margin:0 0 calc(6 * var(--wpx))}
.gd-k{color:#b09b79;white-space:nowrap}
.gd-v{color:#dcdcdc}
/* the chapters: one row each, the open one in the headings' colour inside a 1 px line; a name longer than the list goes on to a
   second line, never cut with "…" (1a 22. 11. 2026: cs "10. Subclassy a skilly od učitelů" was cut, el needs 1.85 of the row) */
.gd-ch{display:block;width:100%;min-height:calc(16 * var(--wpx));height:auto;line-height:calc(16 * var(--wpx));margin:0;padding:0 calc(3 * var(--wpx));
 border:0;border-radius:0;background:none;font:inherit;color:#dcdcdc;text-align:left;white-space:normal;overflow-wrap:break-word;overflow:hidden;
 cursor:pointer;outline:0}
.gd-ch:hover{outline:var(--wpx) solid rgba(176,155,121,.5);outline-offset:calc(-1 * var(--wpx))}
.gd-ch[aria-current]{color:#b09b79;outline:var(--wpx) solid #b09b79;outline-offset:calc(-1 * var(--wpx))}
.gd-narrow .gd-ch{min-height:calc(20 * var(--wpx));line-height:calc(20 * var(--wpx))}
.gd-setup{margin-top:calc(8 * var(--wpx))}
.gd-count{display:flex;align-items:center;justify-content:center;color:#a3a3a3;white-space:nowrap}
/* a toast stands over the windows' layer (#toast z 20, #l2wnd 14), and the menu's first hint (10 s) came right where a phone's
   window has its text: none while the guide is open, what is left of it after */
:root.gd-open #toast.visible{opacity:0;transition:none}
/* on a phone the window lies over the menu's own texts, which showed through the client's back (alpha 221, 13 % through): the
   same back twice more under the guide's pieces (0.2 % through; once more left 1.8 %, the menu's big gold words still seen under a
   chapter's text on a Pixel), as the clan drawer layers its back on a touch screen; the kit's frame is an empty div, so its
   ::after lies under the window's pieces too */
@media (pointer:coarse){
.gd-wnd .l2w-frame::after,.gd-wnd .l2w-frame::before{content:'';position:absolute;inset:calc(-12 * var(--wpx)) calc(-7 * var(--wpx)) calc(-9 * var(--wpx));
 border-style:solid;border-width:calc(12 * var(--wpx)) calc(7 * var(--wpx)) calc(9 * var(--wpx));pointer-events:none;
 border-image:url(assets/ui/wnd/body.png) 12 7 9 fill/calc(12 * var(--wpx)) calc(7 * var(--wpx)) calc(9 * var(--wpx)) stretch}
}
/* Over the welcome and the loading screen in both boots (loading.css, 25. 11. 2026, .work/novacek-2026-11-25/NAVRH.md). */
body:has(#loading:is(.ls-hold,.ls-early):not(.ls-login)):has(.gd-wnd:not([hidden])) #l2wnd{z-index:56}
