/* Tic Tac Toe — Styles, Dart Dash standard */
.ttt-page { background: #1c1c3d; min-height: 100vh; font-family: 'Fredoka', sans-serif; overflow-x: hidden; }

/* HUD — shared .dd-hud-left/right/title/score-display from style.css */
#ttt-hud {
  max-width: 900px; margin: 0 auto; padding: 10px 16px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px; box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* Game area — Dart Dash standard */
#ttt-game-area {
  width: 100%; max-width: 900px; margin-top: 8px;
  display: flex; flex-direction: column; align-items: center;
}

/* Canvas wrapper — Dart Dash standard */
.ttt-canvas-wrapper {
  position: relative;
  border-radius: 16px;
  border: 2px solid rgba(255,107,107,0.2);
  background: #16213e;
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

/* Canvas */
#ttt-canvas { display: block; cursor: pointer; width: 500px; height: 500px; }

/* Turn bar */
.ttt-turn-bar {
  max-width: 500px; width: 100%; margin-top: 10px; text-align: center;
  background: rgba(0,0,0,0.4); border-radius: 12px; padding: 10px 16px;
  border: 2px solid rgba(255,107,107,0.2);
}
.ttt-turn-text { color: #ffd700; font-weight: 600; font-size: 1rem; }
.ttt-score-text { color: rgba(255,255,255,0.5); font-weight: 500; font-size: 0.85rem; margin-top: 4px; }

/* Leaderboard */
.lb-section { max-width: 900px; margin: 20px auto; padding: 0 16px; }

/* Responsive */
@media (max-width: 600px) {
  #ttt-canvas { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .ttt-canvas-wrapper { width: 100%; }
}
