.c-board-stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: var(--board-size);
  gap: var(--space-2);
}

@media (min-width: 960px) {
  .c-board-stage {
    flex-direction: row;
    align-items: stretch;
    width: var(--play-col-w);
    max-width: 100%;
    gap: var(--space-2);
  }

  .c-board-frame {
    align-self: center;
  }
}

.c-board-frame {
  position: relative;
  width: var(--board-size);
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-board);
  overflow: hidden;
  touch-action: none;
  position: relative;
  flex-shrink: 0;
  background: var(--color-surface);
}

@media (max-width: 959px) {
  .c-board-frame {
    width: 100%;
    margin: 0;
  }
}

.c-board-frame .cg-wrap,
.c-board-frame cg-board {
  width: 100%;
  height: 100%;
  touch-action: none;
}