/* (.lesson-deck, the figure of a lesson step in beats.css, takes the same tokens and tone map.) The introduction's deck on the shared engine (platform/deck.css): the port's tokens on the HUD's dark material in both
   themes, the tone map (the HUD's accents and the districts' lane tones), the stage fit, and the marks of the docker
   figures (intro-figures.js). Nothing here styles the engine's own layout. */
.wb-intro.deck,.lesson-deck{--dk-panel:var(--hud-panel);--dk-ink:var(--hud-ink);--dk-dim:var(--hud-dim);--dk-rule:var(--hud-rule);--dk-wash:var(--hud-wash);--dk-primary:var(--hud-accent);--dk-secondary:var(--hud-good);--dk-accent:var(--hud-gold);--dk-emphasis:var(--hud-accent);--dk-button-ink:#0b1b2b;--dk-shadow:#000;--dk-clear:transparent;--dk-font:Manrope;--dk-mono:'IBM Plex Mono',monospace;--dk-serif:Georgia,'Iowan Old Style','Times New Roman',serif;--dk-ease:var(--hud-ease);--dk-bad:var(--hud-error);--dk-cache:#6fa0cc}
.dk [data-tone=primary],.deck-figure [data-tone=primary]{--dk-tone:var(--dk-primary)}.dk [data-tone=secondary],.deck-figure [data-tone=secondary]{--dk-tone:var(--dk-secondary)}.dk [data-tone=accent],.deck-figure [data-tone=accent]{--dk-tone:var(--dk-accent)}
.dk [data-tone=dim],.deck-figure [data-tone=dim]{--dk-tone:var(--dk-dim)}.dk [data-tone=ink],.deck-figure [data-tone=ink]{--dk-tone:var(--dk-ink)}.dk [data-tone=good],.deck-figure [data-tone=good]{--dk-tone:var(--hud-good)}.dk [data-tone=bad],.deck-figure [data-tone=bad]{--dk-tone:var(--dk-bad)}.dk [data-tone=cache],.deck-figure [data-tone=cache]{--dk-tone:var(--dk-cache)}
/* The districts' lane tones (beats.css), in their light-on-dark set in either theme: the deck is always dark material. */
.wb-intro.deck,.lesson-deck{--district-1:#80c6ff;--district-2:#e5ba68;--district-3:#91bbef;--district-4:#7cd1d2;--district-5:#9bcea4;--district-6:#d3b286;--district-7:#cfabe2;--district-8:#e5b097}
.dk [data-tone=d1]{--dk-tone:var(--district-1)}.dk [data-tone=d2]{--dk-tone:var(--district-2)}.dk [data-tone=d3]{--dk-tone:var(--district-3)}.dk [data-tone=d4]{--dk-tone:var(--district-4)}.dk [data-tone=d5]{--dk-tone:var(--district-5)}.dk [data-tone=d6]{--dk-tone:var(--district-6)}.dk [data-tone=d7]{--dk-tone:var(--district-7)}.dk [data-tone=d8]{--dk-tone:var(--district-8)}
/* The stage: the deck fills the activity panel edge to edge (no padding, no scroll of its own). */
#main.port-intro{padding:0;overflow:hidden}
#main.port-intro>.deck{height:100%;border-radius:0 0 10px 10px}
@media(max-width:699px),(max-height:499px){#main.port-intro{padding:0}#main.port-intro>.deck{border-radius:10px}}
/* ---- Figure marks: soft faces, lines and glyphs drawn by intro-figures.js on the deck's dark material ---- */
.di-fill{fill:color-mix(in srgb,var(--dk-tone) 13%,var(--dk-panel));stroke:none}
.di-face{fill:color-mix(in srgb,var(--dk-tone) 20%,var(--dk-panel));stroke:none}
.di-top{fill:color-mix(in srgb,var(--dk-tone) 46%,var(--dk-panel));stroke:none}.di-side{fill:color-mix(in srgb,var(--dk-tone) 30%,var(--dk-panel));stroke:none}
.di-hatch{fill:none;stroke:var(--dk-tone);stroke-width:1;opacity:.55}
.di-dash{fill:none;stroke:var(--dk-tone);stroke-width:1.5;stroke-dasharray:4 3.4;stroke-linecap:round}
.di-soft{fill:none;stroke:var(--dk-tone);stroke-width:1;opacity:.5}
.di-solid{fill:var(--dk-tone);stroke:none}
.di-plate{fill:color-mix(in srgb,var(--dk-tone) 22%,var(--dk-panel));stroke:var(--dk-tone);stroke-width:1.2}
/* Source text keeps its indentation (a compose file, a Dockerfile). */
.wb-intro .dk text{white-space:pre}
/* A typed line in a figure (svg text): revealed by deck.css's clip, one step per character. */
.dk .di-typed{font:500 12.5px var(--dk-mono);fill:var(--dk-ink)}.dk .di-typed[data-tone]{fill:var(--dk-tone)}
/* The cover: the whale mark over the course's display name. */
.deck-cover .di-whale{display:block;width:min(190px,46%);max-height:46%;height:auto;object-fit:contain}
.deck-cover .di-whale{opacity:1}
.deck:is([data-deck-state=playing],[data-deck-state=paused]) .deck-cover .di-whale{opacity:0;animation:deck-fade calc(.6s / var(--deck-rate,1)) ease-out forwards}
/* The shared engine's paragraph box is fixed (deck.css) and clips from 600 px up; here it always scrolls when its text is longer
   (deck.js reach() gives it the keyboard stop), and the arrows keep a 44 px touch height. Scoped to this deck: gitGud.'s is unchanged. */
.wb-intro.deck .deck-copy{overflow:auto;scrollbar-width:thin}
.wb-intro.deck .deck-foot button{min-height:44px}
@container (max-height:360px){.wb-intro .deck-foot{height:44px}}
/* HTML + rail figures: the terminal above, its rail under it. */
.di-stack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;height:100%;min-height:0}
.di-stack>.di-main{flex:0 1 auto;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}
.di-stack>.di-rail{flex:none;display:block;width:min(100%,460px);height:auto;overflow:visible}
