/* YosoMatome カスタムスタイル */

body {
  background-color: #1a1a2e;
  color: #f0f0f0;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

/* カードベース */
.card {
  background-color: #16213e;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.08);
}

/* タブ */
.tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: transparent;
  color: #9ca3af;
}

.tab-btn:hover {
  color: #ffd700;
}

.tab-btn.active {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #1a1a2e;
  border-color: #ffd700;
}

/* ゴールドアクセント */
.gold {
  color: #ffd700;
}

.gold-border {
  border-color: #ffd700;
}

/* ランキングテーブル */
.ranking-row {
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.ranking-row:hover {
  background-color: rgba(255, 215, 0, 0.05);
}

/* 的中バッジ */
.badge-hit {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-miss {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* マーク色 */
.mark-honmei { color: #ef4444; font-weight: 800; } /* ◎ */
.mark-taikou { color: #3b82f6; font-weight: 700; } /* ○ */
.mark-tanana { color: #10b981; font-weight: 700; } /* ▲ */

/* チャートコンテナ */
.chart-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

/* グラデーションライン */
.gold-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

/* ヘッダーロゴ */
.logo-text {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* スクロールバー */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}
