/* Scrolling article pages (How to play, 404). The game page itself is one fixed screen. */
/* Only the viewport scrolls. A body with overflow:auto is a scroll box that never moves, and with app.css's
   overscroll-behavior:none it swallowed wheel and trackpad scrolls (DEFECT-012). */
html.doc{height:auto;overflow:auto}
html.doc body{height:auto;overflow:visible}
.doc-wrap{max-width:760px;margin:0 auto;padding:28px 20px 60px}
.doc-wrap h1{margin:8px 0 14px;font:800 clamp(34px,6vw,52px)/.95 var(--f-display);letter-spacing:.04em}
.doc-wrap h1 span{color:var(--phos)}
.doc-wrap h2{margin:34px 0 10px;font:800 26px/1 var(--f-display);letter-spacing:.05em;color:var(--phos)}
.doc-wrap p,.doc-wrap li,.doc-wrap dd{color:var(--ink-dim);font-size:16px;line-height:1.55}
.doc-wrap b,.doc-wrap dt{color:var(--ink)}
.doc-wrap a{color:var(--pen)}
.doc-wrap dt{font-weight:600;margin-top:12px}
.doc-wrap dd{margin:2px 0 0}
.lede{font-size:18px!important}
.crumb{margin:0;font:400 13px var(--f-mono);letter-spacing:.06em}
.figs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin:16px 0}
.figs figure{margin:0}
.figs figcaption{margin-top:8px;font-size:14px;line-height:1.45;color:var(--ink-dim)}
.fg{display:block;width:100%;height:auto;max-width:260px}
.fg-bg{fill:var(--scope);stroke:rgba(var(--phos-rgb),.3)}
.fg-line{stroke:rgba(var(--phos-rgb),.14);stroke-width:1}
.fg-shade{fill:rgba(var(--pen-rgb),.22)}
.fg-st{fill:rgba(var(--phos-rgb),.12);stroke:var(--phos);stroke-width:1.5}
.fg-st.rings{stroke-width:3;stroke-dasharray:none}
.fg-lt{fill:var(--phos);font:600 11px var(--f-body);text-anchor:middle}
.fg-badge{fill:var(--pen);stroke:var(--scope);stroke-width:1.5}
.fg-bt{fill:var(--scope);font:10px var(--f-mono);text-anchor:middle}
.fg-water{fill:rgba(var(--phos-rgb),.45);font:13px var(--f-mono);text-anchor:middle}
.fg-ring{fill:none;stroke:rgba(var(--pen-rgb),.85);stroke-width:1.5;stroke-dasharray:4 3}
.fg-ring.r2{stroke:rgba(var(--pen-rgb),.6)}
.fg-ring.r3{stroke:rgba(var(--pen-rgb),.4)}
.fg-sub{fill:var(--phos);color:var(--phos)}
.fg-tag rect{fill:var(--pen)}
.fg-tag text{fill:var(--scope);font:10px var(--f-mono);text-anchor:middle}
.skins{columns:2}
.doc-wrap.with-today{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
.doc-today{position:fixed;inset:auto 0 0;z-index:10;padding:12px max(20px,env(safe-area-inset-right,0px)) calc(22px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));background:var(--steel-0)}
.doc-today a{display:block;max-width:720px;margin:0 auto;padding:15px 18px;border:2px solid var(--phos);border-radius:8px;background:rgba(var(--phos-rgb),.14);color:var(--phos);font:700 18px/1.2 var(--f-body);text-align:center;text-decoration:none}
.doc-today a:hover{background:rgba(var(--phos-rgb),.22)}
.doc-today a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
html.doc{scroll-padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
/* Folded sections (privacy page): a ruled, bold heading with room to tap. */
.doc-wrap details{border-top:1px solid var(--line)}
.doc-wrap summary{padding:12px 0;font-weight:600;cursor:pointer}
