/* Path Walker 网格缓动 / 矢量占位 / 底部避让。本地，未同步线上。 */
.jh-board-map {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.jh-board-piece {
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.m2m-vector-placeholder {
  width: 100%;
  height: 120px;
  background: radial-gradient(circle, #1a1f2c 0%, #0b0f19 100%);
  border: 1px dashed #7f1d1d;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  margin: 0 0 10px;
}
.m2m-stream-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 10px,
    rgba(239, 68, 68, 0.06) 10px 11px
  );
  animation: pw-scan 3.2s linear infinite;
}
.m2m-matrix-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, Menlo, Courier, monospace;
  font-size: 11px;
  color: #f87171;
  letter-spacing: 1px;
  animation: pw-glow 2s ease-in-out infinite;
  text-align: center;
  padding: 0 10px;
}
@keyframes pw-glow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@keyframes pw-scan {
  0% { transform: translateY(-12px); }
  100% { transform: translateY(12px); }
}
@media (max-width: 768px) {
  .m2m-path-walker-container,
  body.pathwalker .subsite-main {
    padding-bottom: 85px;
  }
  #pwDock {
    bottom: 90px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jh-board-piece,
  .m2m-walker-pawn,
  .m2m-stream-lines,
  .m2m-matrix-text {
    animation: none;
    transition: none;
  }
}
