:root{color-scheme:light;color:#2a2328;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif}*{box-sizing:border-box}body{margin:0;background:#fff}main{max-width:450px;margin:auto;padding:6px 16px calc(16px + env(safe-area-inset-bottom))}[hidden]{display:none!important}button{font:inherit;font-size:14px;color:inherit;border:0;border-radius:8px;background:#f3f4f6;min-height:44px;padding:10px 14px;touch-action:manipulation}.partner{display:flex;gap:8px;align-items:center}.partner img{object-fit:contain;border-radius:12px}.partner strong{font-size:12px}.partner p{font-size:13px;margin:4px 0;line-height:1.5}.hud{display:flex;justify-content:space-between;font-size:12px;color:#6e626a;margin:8px 0}h2{font-size:20px}p{font-size:14px;line-height:1.6}.small{font-size:12px;color:#6e626a}.start-label{font-weight:700;margin:8px 0}.commands{list-style:none;margin:8px 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}.command{padding:7px 9px;background:#f3f4f6;border-radius:8px;font-size:14px}.command small{color:#6e626a;font-size:11px;margin-right:5px}.instruction{font-size:12px;color:#6e626a;margin:8px 0}.board{display:grid;grid-template-columns:20px repeat(5,minmax(0,1fr));gap:3px}.axis{display:grid;place-items:center;min-height:20px;font-size:12px;color:#6e626a}.cell{position:relative;aspect-ratio:1;min-width:0;padding:2px;border:1px solid #d4cbd0;background:#fff;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center}.cell small{font-size:10px;line-height:1.2}.cell .paw{font-size:22px;line-height:1.1}.cell .arrow{font-size:17px;line-height:1}.cell.start{background:#f5f0f3;border-color:#a78798}.cell.correct{border:2px solid #317252;background:#eff6f2}.cell.wrong{border:2px solid #aa4652;background:#fff0f2}.cell:disabled{opacity:1;color:inherit}.mark{font-size:22px;line-height:1}.cell:focus-visible{outline:2px solid #bd416e;outline-offset:1px}#feedback{min-height:24px;margin:8px 0;font-size:14px;font-weight:700}#route{margin:4px 0 8px}#next{width:100%;font-weight:700;background:#eef0f3}#pause{display:block;margin:8px auto 0;font-size:12px}#intro,#result{padding:18px 0;text-align:center}#intro button,#result button{margin:4px;min-width:140px}

.command{border:1px solid transparent}.command.turn{background:#fff;border-color:#d4cbd0}

.start-symbol{display:flex;align-items:center;justify-content:center;gap:1px}.start-symbol .paw{font-size:19px}.start-symbol .arrow{font-size:22px;font-weight:700}

#route{overflow-wrap:anywhere;line-height:1.7}.start-label{line-height:1.5}.cell small{font-variant-numeric:tabular-nums}button:focus-visible{outline:2px solid #bd416e;outline-offset:2px}
