@layer components{.slide-puzzle{background:var(--color-kami)}.slide-puzzle .game-loading{min-height:calc(100dvh - var(--asobi-header-h))}.sp-app{height:calc(100dvh - var(--asobi-header-h));flex-direction:column;min-height:22rem;display:flex}.sp-play{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.sp-tutorial-space{flex:none;height:5.5rem}@media (max-width:639px){.sp-tutorial-space{height:6.75rem}}.sp-play[data-reserve=side]{flex-direction:row}.sp-play[data-reserve=side]>.sp-tutorial-space{width:15.5rem;height:auto}.sp-play[data-reserve=side]>.sp-stage{flex:1;min-width:0}.sp-play[data-reserve=side] .kit-tutorial-card{width:14.5rem;left:.5rem;translate:none}.sp-play[data-reserve=band]>.sp-tutorial-space{height:3.5rem}.sp-play[data-reserve=band] .kit-tutorial-card{padding-block:.25rem;top:.25rem}.sp-play[data-reserve=band] .kit-tutorial-card p{font-size:.875rem}@media (orientation:landscape) and (max-height:520px){.sp-play:not([data-reserve])>.sp-tutorial-space{height:0}}.sp-stage{flex:1;min-height:0;margin:0 .5rem .5rem;position:relative}.sp-scene{transition:transform .42s cubic-bezier(.3,.8,.3,1) .76s;position:absolute;inset:0}.sp-layer{width:100%;height:100%;display:block;position:absolute;inset:0;overflow:visible}.sp-box-layer{pointer-events:none}.sp-board{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;outline:none}.sp-focus{opacity:0;pointer-events:none}.sp-board:focus-visible .sp-focus{opacity:1}.sp-focus-outer,.sp-focus-inner{fill:none}.sp-focus-outer{stroke:#fff;stroke-width:.1px}.sp-focus-inner{stroke:var(--color-ai);stroke-width:.05px}.sp-blank{fill:none;pointer-events:none}.sp-tile,.sp-last,.sp-hint{transform-box:view-box;transform-origin:0 0}.sp-tile{transition:transform .13s cubic-bezier(.3,1.3,.55,1)}.sp-tile[data-dragging],.sp-app[data-settling] :is(.sp-tile,.sp-scene){transition:none}.sp-tile[data-movable]{cursor:pointer;touch-action:none}.sp-tile-shadow{fill:#0e0602;opacity:.55;transition:transform .12s ease-out,opacity .12s ease-out;transform:translate(.02px,.045px)}.sp-tile[data-lifted] .sp-tile-shadow{opacity:.42;transform:translate(.06px,.12px)}.sp-tile-body{transform-box:view-box;transform-origin:0 0}.sp-tile[data-lifted] .sp-tile-body{transform:translate(-.012px,-.02px)}.sp-tile-body[data-bump]{animation:.22s ease-out sp-bump}@keyframes sp-bump{0%,to{transform:translate(0)}20%{transform:translate(-.035px)}45%{transform:translate(.03px)}70%{transform:translate(-.015px)}}.sp-tile[data-movable]:hover .sp-tile-edge{stroke:var(--color-ai);stroke-opacity:1;stroke-width:.025px}.sp-inlay,.sp-inlay-dark{fill:none;pointer-events:none}.sp-inlay{stroke:#f3e7cc;stroke-width:.018px;opacity:.9}.sp-inlay-dark{stroke:#2a170a;stroke-width:.008px;opacity:.6}.sp-tile-edge{fill:none;stroke:#1a0e06;stroke-opacity:.7;stroke-width:.014px}.sp-badge{fill:#f3e7cc;stroke:#2a170a;stroke-width:.01px}.sp-number,.sp-stats text{fill:#2a170a;font-family:var(--font-serif);text-anchor:middle;dominant-baseline:central;pointer-events:none;font-weight:700}.sp-stats text{fill:#f3e7cc}.sp-stats-moves{font-variant-numeric:tabular-nums}.sp-stats,.sp-sample{transition:opacity .24s ease-out}.sp-stats[data-hidden],.sp-sample[data-hidden]{opacity:0}.sp-hint{pointer-events:none}.sp-hint-ring,.sp-hint-ring-inner{fill:none}.sp-hint-ring{stroke:#fff;stroke-width:.1px}.sp-hint-ring-inner{stroke:var(--color-shu);stroke-width:.05px}.sp-hint-disc{fill:#fff;stroke:var(--color-shu);stroke-width:.03px}.sp-hint-chevron{fill:none;stroke:var(--color-shu);stroke-width:.06px;stroke-linecap:round;stroke-linejoin:round}.sp-hint-arrow{animation:.9s ease-in-out infinite sp-nudge}@keyframes sp-nudge{0%,to{transform:translate(0)}50%{transform:translate(.08px)}}.sp-last{animation:.38s cubic-bezier(.2,.8,.3,1.2) both sp-last-in}@keyframes sp-last-in{0%{opacity:0;transform:translate(var(--from-x,0), var(--from-y,0))}}.sp-board[data-solved] .sp-pop{animation:.42s cubic-bezier(.3,.9,.4,1.3) both sp-pop;animation-delay:calc(.26s + var(--i) * 26ms);transform-box:fill-box;transform-origin:50%}@keyframes sp-pop{0%,to{transform:scale(1)}45%{transform:scale(1.07)}}.sp-reveal{pointer-events:none;animation:.52s ease-out .9s both sp-reveal}@keyframes sp-reveal{0%{opacity:0}}.sp-sparkles{pointer-events:none}.sp-sparkle{opacity:0;transform-box:fill-box;transform-origin:50%;animation:.9s ease-out both sp-sparkle;animation-delay:calc(.56s + var(--i) * 30ms)}@keyframes sp-sparkle{0%{opacity:0;transform:scale(0)rotate(0)}35%{opacity:1;transform:scale(1.2)rotate(45deg)}to{opacity:0;transform:scale(.9)rotate(90deg)}}.sp-clear{z-index:10;pointer-events:none;justify-content:center;align-items:center;animation:.32s cubic-bezier(.2,.8,.3,1) 1s both sp-clear-in;display:flex;position:absolute}.sp-clear>*{pointer-events:auto}@keyframes sp-clear-in{0%{opacity:0;transform:translateY(.75rem)scale(.96)}}.sp-resumed{z-index:5;border:1px solid var(--border);background:var(--card);pointer-events:none;border-radius:999px;padding:.2rem .9rem;font-size:.875rem;font-weight:700;animation:2.4s ease-out both sp-resumed;position:absolute;top:.5rem;left:50%;translate:-50%}@keyframes sp-resumed{0%,70%{opacity:1}to{opacity:0}}@media (orientation:landscape) and (max-height:520px){.sp-app{min-height:0}}.sp-thumbnail{width:100%;height:100%;display:block}.sp-app[data-guide-undo] .kit-topbar button[title^="1手戻す"]{position:relative;overflow:visible}.sp-app[data-guide-undo] .kit-topbar button[title^="1手戻す"]:after{content:"";border:3px dashed var(--color-ai);pointer-events:none;border-radius:14px;animation:1.4s ease-in-out infinite sp-guide-pulse;position:absolute;inset:-5px;box-shadow:0 0 0 2px #fff,inset 0 0 0 2px #fff}@keyframes sp-guide-pulse{0%,to{opacity:1}50%{opacity:.45}}}
