/* =================================================================
 * 立体視テスト（マジカルアイ）ツール固有スタイル
 * スコープは #app-visiontest-stereo に限定する
 * ================================================================= */

#app-visiontest-stereo .stereo-stage {
  width: 100%;
  max-width: 760px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #101018;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.6);
}

#app-visiontest-stereo #stereo-canvas {
  display: block;
  max-width: 100%;
  image-rendering: pixelated; /* ドットのにじみを抑える */
}

/* 生成前のオーバーレイ案内 */
#app-visiontest-stereo .stage-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  pointer-events: none;
}

/* 補助点（この間隔だけ視線をずらすと立体視が成立する） */
#app-visiontest-stereo .guide-dots {
  --gap: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap);
  height: 26px;
}
#app-visiontest-stereo .guide-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(124, 90, 195, 0.25);
}

/* 選択肢ボタン */
#app-visiontest-stereo #practice-choices .btn,
#app-visiontest-stereo #test-choices .btn {
  min-width: 108px;
}

/* モードタブの見た目調整 */
#app-visiontest-stereo .nav-pills .nav-link {
  color: var(--bs-secondary-color);
}
#app-visiontest-stereo .nav-pills .nav-link.active {
  color: #fff;
}

/* content-seo テーブルのダーク/ライト両対応（bg-body系を使用） */
#app-visiontest-stereo .seo-table th,
#app-visiontest-stereo .seo-table td {
  vertical-align: middle;
}

@media (max-width: 575.98px) {
  #app-visiontest-stereo .guide-dots {
    height: 22px;
  }
  #app-visiontest-stereo .guide-dot {
    width: 12px;
    height: 12px;
  }
  #app-visiontest-stereo #practice-choices .btn,
  #app-visiontest-stereo #test-choices .btn {
    min-width: 46%;
  }
}
