:root[data-theme] .game-page[data-stage][data-stage-mode]{min-block-size:calc(var(--stage-vh,100svh) - var(--stage-top,0px));align-content:start;gap:0 12px;display:grid;position:relative}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-group]{grid-area:1/1/-1/-1;grid-template-rows:subgrid;grid-template-columns:subgrid;box-shadow:none;pointer-events:none;background:0 0;border:0;border-radius:0;grid-template-areas:none;gap:normal;min-block-size:0;inline-size:auto;min-inline-size:0;max-inline-size:none;margin:0;padding:0;display:grid;overflow:visible;container-type:normal}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-group]>:not([data-stage-group]){pointer-events:auto}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-place]{min-inline-size:0;max-inline-size:none;margin:0}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-place=crumb]{grid-area:crumb;align-self:center}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-place=tools]{grid-area:tools}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-place=intro]{grid-area:intro}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-place=actions]{grid-area:actions}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-place=score]{grid-area:score}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-place=controls]{grid-area:controls}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-place=end]{grid-area:end}:root[data-theme] .game-page[data-stage][data-stage-mode] [data-stage-place=board]{min-block-size:var(--stage-floor,0px);grid-area:board;place-self:stretch stretch;place-items:center;inline-size:auto;display:grid;container-type:size}:root[data-theme] .game-page[data-stage][data-stage-mode]:is([data-stage-mode=desktop],[data-stage-mode=landscape]):not(:has([data-stage-place=controls])) [data-stage-place=board]{grid-column-start:1}:root[data-theme] .game-page[data-stage][data-stage-mode]:not(:has([data-stage-place=end])) [data-stage-place=board]{grid-column-end:-1}:root[data-theme] .game-page[data-stage][data-stage-mode]:not([data-stage-mode=desktop]) [data-stage-place=intro],:root[data-theme] .game-page[data-stage][data-stage-mode]:not([data-stage-mode=desktop]) [data-stage-place=tools] .game-utility-label,:root[data-theme] .game-page[data-stage][data-stage-mode=short] [data-stage-place=crumb]{clip:rect(0,0,0,0);white-space:nowrap;border:0;grid-area:auto;block-size:1px;inline-size:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:root[data-theme] .game-page[data-stage][data-stage-mode]:not([data-stage-mode=desktop]) [data-stage-place=tools]{border:0;flex-wrap:nowrap;justify-content:flex-end;place-self:center end;inline-size:auto;margin:0;padding:0}:root[data-theme] .game-page[data-stage][data-stage-mode]:not([data-stage-mode=desktop]) [data-stage-place=tools]>button{padding-inline:12px}:root[data-theme] .game-page[data-stage][data-stage-mode]:not([data-stage-mode=desktop]) [data-stage-place=actions]{flex-wrap:nowrap;align-self:center;gap:8px;inline-size:auto;min-inline-size:max-content}:root[data-theme] .game-page[data-stage][data-stage-mode]:not([data-stage-mode=desktop]) [data-stage-place=actions]>button{min-block-size:48px;min-inline-size:max-content;font-size:var(--text-md);white-space:nowrap;flex:auto;padding:8px 10px}:root[data-theme] .game-page[data-stage][data-stage-mode]:not([data-stage-mode=desktop]) [data-stage-place=score]{justify-content:center;align-items:center;gap:8px;display:flex}:root[data-theme] .game-page[data-stage][data-stage-mode=portrait]{padding-block:4px calc(12px + env(safe-area-inset-bottom,0px));grid-template:"crumb tools""actions actions""score score""board board"minmax(0,1fr)"end end""controls controls"/minmax(0,1fr) auto}:root[data-theme] .game-page[data-stage][data-stage-mode=portrait] :is([data-stage-place=actions],[data-stage-place=score],[data-stage-place=board],[data-stage-place=controls],[data-stage-place=end]){margin-block-start:12px}:root[data-theme] .game-page[data-stage][data-stage-mode=short]{padding-block:4px max(8px, env(safe-area-inset-bottom,0px));grid-template:"actions board end""score board end""controls board end"".board end"minmax(0,1fr)/160px minmax(0,1fr) auto;row-gap:4px}:root[data-theme] .game-page[data-stage][data-stage-mode=short]:not([data-stage-mode=desktop]) [data-stage-place=actions]{flex-direction:column;align-self:start;gap:4px;min-inline-size:0;max-inline-size:100%}:root[data-theme] .game-page[data-stage][data-stage-mode=short]:not([data-stage-mode=desktop]) [data-stage-place=actions]>button{block-size:48px;inline-size:100%;min-inline-size:0}:root[data-theme] .game-page[data-stage][data-stage-mode=short] [data-stage-place=score]{align-self:start;margin-block-start:12px}:root[data-theme] .game-page[data-stage][data-stage-mode=short] [data-stage-place=controls]{align-self:start}:root[data-theme] .game-page[data-stage][data-stage-mode=short] [data-stage-place=end]{align-self:center}:root[data-theme] .game-page[data-stage][data-stage-mode=short] [data-stage-place=crumb]:focus-within{z-index:3;block-size:auto;inline-size:auto;padding-block:0;padding-inline:inherit;clip:auto;background:var(--page);margin:0;inset-block-start:4px;inset-inline:0;overflow:visible}:root[data-theme] .game-page[data-stage][data-stage-mode=short] [data-stage-place=tools]{z-index:2;grid-area:auto;inline-size:max-content;position:absolute;inset-block-start:var(--stage-tools-y,auto);inset-inline-start:var(--stage-tools-x,auto)}:root[data-theme]:has(.game-page[data-stage][data-stage-mode=short]) .site-header{padding-block:4px}:root[data-theme]:has(.game-page[data-stage][data-stage-mode=short]) :is(.site-header,.site-header .header-tools){pointer-events:none}:root[data-theme]:has(.game-page[data-stage][data-stage-mode=short]) :is(.site-header .wordmark,.site-header .header-tools>*){pointer-events:auto}:root[data-theme]:has(.game-page[data-stage][data-stage-mode=short]) .site-header .header-tools{padding-inline-start:calc(var(--stage-tools-inline,0px) + 8px)}:root[data-theme]:has(.game-page[data-stage][data-stage-mode=short]) .site-header .brand-logo{inline-size:auto}:root[data-theme]:has(.game-page[data-stage][data-stage-mode=short]) .site-header .brand-image-full{inline-size:160px}:root[data-theme]:has(.game-page[data-stage][data-stage-mode=short]) .site-header .brand-image-short{block-size:48px;inline-size:48px}:root[data-theme]:has(.game-page[data-stage][data-stage-mode=short]) .site-header .menu-button{padding:0}:root[data-theme] .game-page[data-stage][data-stage-mode=landscape]{padding-block:4px calc(12px + env(safe-area-inset-bottom,0px));grid-template:"crumb actions.score tools""controls board board board end"minmax(0,1fr)/auto auto minmax(0,1fr) auto auto;row-gap:12px}:root[data-theme] .game-page[data-stage][data-stage-mode=landscape] :is([data-stage-place=controls],[data-stage-place=end]){align-self:center}:root[data-theme] .game-page[data-stage][data-stage-mode=desktop]{grid-template:"crumb crumb crumb crumb crumb""intro intro intro score actions""controls board board board end"minmax(0,1fr)"tools tools tools tools tools"/auto minmax(0,1fr) auto auto auto;padding-block-end:8px}:root[data-theme] .game-page[data-stage][data-stage-mode=desktop] [data-stage-place=intro]{margin-block-end:12px}:root[data-theme] .game-page[data-stage][data-stage-mode=desktop] [data-stage-place=intro] h1{overflow-wrap:normal}:root[data-theme] .game-page[data-stage][data-stage-mode=desktop] :is([data-stage-place=score],[data-stage-place=actions]){align-self:end;margin-block-end:12px}:root[data-theme] .game-page[data-stage][data-stage-mode=desktop] [data-stage-place=score]{margin-inline-end:16px}:root[data-theme] .game-page[data-stage][data-stage-mode=desktop] [data-stage-place=tools]{margin-block-start:8px}:root[data-theme] .game-page[data-stage][data-stage-controls=actions][data-stage-mode=landscape]:has([data-stage-place=controls]){grid-template-columns:auto auto auto minmax(0,1fr) auto auto;grid-template-areas:"crumb actions controls.score tools""board board board board board end"}:root[data-theme] .game-page[data-stage][data-stage-controls=actions][data-stage-mode=landscape] [data-stage-place=controls]{align-self:center}:root[data-theme] .game-page[data-stage][data-stage-controls=actions][data-stage-mode=desktop]:has([data-stage-place=controls]){grid-template-areas:"crumb crumb crumb crumb crumb""intro intro score actions controls""board board board board end""tools tools tools tools tools"}:root[data-theme] .game-page[data-stage][data-stage-controls=actions][data-stage-mode=desktop] [data-stage-place=controls]{align-self:end;margin-block-end:12px}
