.hp-root{--hp-slate:var(--tile-neutral);--hp-blue:var(--tile-active);--hp-ice:#f4fcff;--hp-red:var(--tile-wrong);--hp-gold:var(--tile-special);position:absolute;inset:0;container-type:size}.hp-board{--hp-pitch:calc(100cqw / var(--hp-n));--hp-inset:clamp(1px, calc(var(--hp-pitch) * .02), 2.5px);--hp-tile-size:calc(var(--hp-pitch) - 2 * var(--hp-inset));grid-template-columns:repeat(var(--hp-n), 1fr);grid-template-rows:repeat(var(--hp-n), 1fr);background:var(--tile-board);box-shadow:0 0 0 2px var(--tile-board-line);pointer-events:none;display:grid;position:absolute;inset:0}.hp-cell{position:relative}.hp-tile{--glow-size:var(--hp-tile-size);--glow-color:var(--hp-blue);inset:var(--hp-inset);background:var(--hp-slate);position:absolute}.hp-cell:not([data-path]) .hp-tile{transition:background-color var(--glow-fade-duration) ease-out, box-shadow var(--glow-fade-duration) ease-out}.hp-hazard{--glow-size:var(--hp-tile-size);--glow-color:var(--hp-red);inset:var(--hp-inset);z-index:1;background:var(--cue-hatch), var(--hp-red);box-shadow:var(--glow-active), inset 0 0 0 2px #ffffff40;position:absolute}.hp-hazard[data-fade]{animation:hp-fade var(--glow-fade-duration) ease-out forwards}.hp-cell[data-reveal] .hp-hazard{background:var(--cue-hatch), color-mix(in srgb, var(--hp-red) var(--glow-matte-surface-opacity), transparent);box-shadow:var(--glow-matte), inset 0 0 0 2px #ffffff30}.hp-cell[data-path] .hp-tile{background:var(--hp-blue);box-shadow:var(--glow-active), inset 0 0 0 2px #ffffff50}.hp-cell[data-hit] .hp-hazard{z-index:3;opacity:1;background:var(--cue-hatch), color-mix(in srgb, var(--hp-red) var(--glow-matte-surface-opacity), var(--hp-slate));box-shadow:var(--glow-matte), inset 0 0 0 2px #ffffff30}.hp-cell[data-hit] .hp-tile{background:var(--hp-slate);box-shadow:none;transition:none}.hp-endpoint{z-index:3;position:absolute;inset:0}.hp-dot{--glow-size:calc(var(--hp-pitch) * .28);--glow-color:#fff;box-shadow:var(--glow-active);background:#fff;border-radius:50%;position:absolute;inset:36%}.hp-cell[data-origin] .hp-tile{outline:max(4px, calc(var(--hp-pitch) * .05)) solid var(--hp-gold);outline-offset:-2px}.hp-lines{z-index:2;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.hp-lines polyline{fill:none;stroke-linecap:round;stroke-linejoin:round}.hp-path{stroke:#f4fcff99;stroke-width:.045px}.hp-path-texture{stroke:#fff;stroke-width:.085px;stroke-dasharray:.001 .16}.hp-path-start{fill:var(--hp-ice)}.hp-flow{stroke:#fff;stroke-width:.12px;stroke-dasharray:1;stroke-dashoffset:1px;animation:hp-flow var(--hp-sweep-ms) linear forwards}.hp-wave{--glow-size:var(--hp-tile-size);z-index:4;inset:var(--hp-inset);opacity:0;box-shadow:var(--glow-success);animation:game-glow-burst var(--glow-success-duration) ease-out var(--hp-delay) forwards;background:radial-gradient(circle,#fff 0,#fff9 30%,#fff0 70%);position:absolute}.hp-sparks{animation:hp-sparks var(--glow-success-duration) ease-out var(--hp-delay) both;background:radial-gradient(circle at 12% 24%,#fff 0 2%,#0000 4%),radial-gradient(circle at 24% 80%,#fff 0 2%,#0000 4%),radial-gradient(circle at 80% 16%,#fff 0 2%,#0000 4%),radial-gradient(circle at 88% 68%,#fff 0 2%,#0000 4%),radial-gradient(circle at 52% 6%,#fff 0 2%,#0000 4%),radial-gradient(circle at 60% 94%,#fff 0 2%,#0000 4%);position:absolute;inset:0}.game-shell[data-game=hidden-path] .play-area{width:min(100cqw,100cqh - 48px,62.5svh)}@container shell (width<=599px){.game-shell[data-game=hidden-path] header{grid-template-columns:var(--touch-min) 1fr auto var(--touch-min);grid-template-rows:30px 30px;gap:4px 8px;display:grid}.game-shell[data-game=hidden-path] header>button{grid-row:1/3}.game-shell[data-game=hidden-path] header>button:last-child:not(:first-child){grid-column:4}.game-shell[data-game=hidden-path] header>h1{grid-area:1/2/auto/4;align-self:end;font-size:18px}.game-shell[data-game=hidden-path] header>span{white-space:nowrap;grid-row:2;align-self:start;font-size:16px!important}.game-shell[data-game=hidden-path] header>span:first-of-type{grid-column:2}.game-shell[data-game=hidden-path] header>span:nth-of-type(2){grid-column:3}.game-shell[data-game=hidden-path] header>span.rounded-full{padding:2px 6px;font-size:12px!important}}.hp-board[data-motion=reduced],.hp-board[data-motion=reduced] *,.hp-board[data-motion=reduced] :before,.hp-board[data-motion=reduced] :after{animation:none!important}@media (prefers-reduced-motion:reduce){.hp-board,.hp-board *,.hp-board :before,.hp-board :after{animation:none!important}}@keyframes hp-fade{to{opacity:0}}@keyframes hp-flow{to{stroke-dashoffset:0}}@keyframes hp-sparks{0%{transform:scale(.65)}to{transform:scale(1.4)}}
