:root {
  --military-black: #000;
  --military-dark: #1a1a1a;
  --military-surface: #1e2e1e;
  --military-surface-light: #2d3a2d;
  --olive-dark: #3a4a3a;
  --olive: #6b8e23;
  --olive-light: #8fbc8f;
  --khaki: #cd853f;
  --khaki-dark: #8b4513;
  --khaki-light: #d2b48c;
  --brown: #6b4423;
  --red-military: #8b0000;
  --red-military-light: #a0522d;
  --gray-military: #404040;
  --success-bg: rgba(107, 142, 35, 0.25);
  --success-text: #8fbc8f;
  --success-border: rgba(107, 142, 35, 0.4);
  --fail-bg: rgba(139, 0, 0, 0.25);
  --fail-text: #cd5c5c;
  --fail-border: rgba(139, 0, 0, 0.4);
  --special-bg: rgba(205, 133, 63, 0.25);
  --special-text: #cd853f;
  --font-heading: "Courier Prime", "Courier New", Courier, monospace;
  --font-body: "Courier Prime", "Courier New", Courier, monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 50%;
  --border-subtle: 1px solid rgba(139, 142, 35, 0.2);
  --shadow-subtle: 0 0 8px rgba(107, 142, 35, 0.3);
  --shadow-strong: 0 0 12px rgba(107, 142, 35, 0.4);
  --shadow-red: 0 0 8px rgba(139, 0, 0, 0.4);
  --gradient-primary: linear-gradient(135deg, #1e2e1e 0%, #2d3a2d 100%);
  --gradient-khaki: linear-gradient(135deg, #cd853f 0%, #8b4513 100%);
  --gradient-success: linear-gradient(135deg, #6b8e23 0%, #556b2f 100%);
  --gradient-fail: linear-gradient(135deg, #8b0000 0%, #6b0000 100%);
  --gradient-boss: linear-gradient(135deg, #cd853f 0%, #a0522d 100%);
  --text-primary: #e0e0e0;
  --text-secondary: #b8b8b8;
  --text-muted: #909090;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  position: relative;
}

body {
  font-family: var(--font-body);
  background: var(--military-black);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: crosshair;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 20% 80%,
      rgba(107, 142, 35, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(139, 142, 35, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(205, 133, 63, 0.02) 0%,
      transparent 70%
    );
  pointer-events: none;
  z-index: -1;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--military-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--olive);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--olive-dark);
}

#splashscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--military-black);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2000;
  opacity: 1;
  animation: fadeOut 4s forwards;
}
#splashscreen > div {
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.3s forwards;
}
#splashscreen video {
  max-width: 20em;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
}
#splashscreen small {
  color: var(--olive-light);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-4);
  display: block;
}
@keyframes fadeOut {
  0%,
  90% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes fadeIn {
  from {
    zoom: 0.95;
    opacity: 0;
  }
  to {
    zoom: 1;
    opacity: 1;
  }
}
#main-content {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 0.5s forwards 3.5s;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-4);
}
.logo {
  display: block;
  margin: 0 auto var(--space-4);
  max-width: 200px;
  height: auto;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}
.logo:hover {
  transform: scale(1.05);
}
.subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  color: var(--olive-light);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-shadow: 0 0 8px rgba(107, 142, 35, 0.4);
}

.turn-indicator {
  background: var(--military-surface);
  border: 1px solid var(--olive);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  text-align: center;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-subtle);
}

.turn-indicator .turn-label {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.turn-indicator .turn-objective {
  color: var(--khaki-light);
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin: 0 var(--space-2);
}

.turn-indicator .turn-separator {
  color: var(--text-muted);
}

.turn-indicator .turn-player {
  color: var(--olive-light);
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin: 0 var(--space-2);
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: var(--space-8) 0;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-success);
  color: var(--text-primary);
  border: 1px solid var(--olive);
  box-shadow: var(--shadow-subtle);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, #556b2f 0%, #3a4a3a 100%);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  background: var(--gradient-khaki);
  color: var(--military-black);
  border: 1px solid var(--khaki);
  box-shadow: var(--shadow-subtle);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, #8b4513 0%, #6b4423 100%);
}
.btn-danger {
  background: var(--gradient-fail);
  color: var(--text-primary);
  border: 1px solid var(--red-military);
  box-shadow: var(--shadow-red);
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(139, 0, 0, 0.6);
  background: linear-gradient(135deg, #6b0000 0%, #4b0000 100%);
}

.scoreboard-wrapper {
  background: var(--military-surface);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  overflow-x: auto;
  width: 100%;
  box-shadow:
    inset 0 0 30px rgba(107, 142, 35, 0.05),
    0 0 20px rgba(107, 142, 35, 0.1);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  position: relative;
}
th,
td {
  padding: var(--space-3) var(--space-2);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
th {
  background: linear-gradient(
    135deg,
    var(--military-surface-light) 0%,
    var(--military-surface) 100%
  );
  color: var(--khaki-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: sticky;
  top: 0;
  z-index: 15;
  animation: militaryPulse 3s ease-in-out infinite;
}
th:first-child {
  background: linear-gradient(
    135deg,
    var(--military-dark) 0%,
    var(--military-surface) 100%
  );
  color: var(--olive-light);
  position: sticky;
  left: 0;
  z-index: 20;
  min-width: 120px;
}

.player-header {
  background: linear-gradient(
    135deg,
    var(--khaki-dark) 0%,
    var(--khaki) 100%
  ) !important;
  color: var(--military-black) !important;
  border-bottom: 2px solid var(--khaki-dark) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 15 !important;
  font-family: var(--font-heading) !important;
}
td:first-child {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--olive-light);
  background: linear-gradient(
    135deg,
    var(--military-dark) 0%,
    var(--military-surface) 100%
  );
  position: sticky;
  left: 0;
  z-index: 20;
  min-width: 120px;
  font-size: var(--font-size-sm);
}
td.cell-goal-label {
  width: 12em;
}
.player-name {
  position: relative;
  cursor: pointer;
  color: var(--khaki-light);
  transition: var(--transition-fast);
  font-weight: 600;
}
.player-name:hover {
  color: var(--khaki);
  text-shadow: var(--shadow-subtle);
}
.editable {
  width: 8em;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-size: var(--font-size-lg);
}
.editable:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--olive);
  transform: scale(1.02);
}

.editable.disabled {
  opacity: 0.4;
  cursor: not-allowed !important;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(128, 128, 128, 0.3) !important;
}

.editable.disabled:hover {
  background: rgba(0, 0, 0, 0.2) !important;
  border-color: rgba(128, 128, 128, 0.3) !important;
  transform: none !important;
  box-shadow: none !important;
}

.editable.current-turn {
  box-shadow: 0 0 15px rgba(107, 142, 35, 0.7), 0 0 25px rgba(107, 142, 35, 0.4) !important;
  border: 2px solid var(--olive-light) !important;
  background: linear-gradient(135deg, rgba(107, 142, 35, 0.15) 0%, rgba(107, 142, 35, 0.05) 100%) !important;
  animation: neoPulse 2s ease-in-out infinite !important;
}

.editable.current-turn:hover {
  background: linear-gradient(135deg, rgba(107, 142, 35, 0.25) 0%, rgba(107, 142, 35, 0.1) 100%) !important;
  box-shadow: 0 0 20px rgba(107, 142, 35, 0.9), 0 0 35px rgba(107, 142, 35, 0.5) !important;
  transform: scale(1.05) !important;
}

@keyframes neoPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(107, 142, 35, 0.5), 0 0 20px rgba(107, 142, 35, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(107, 142, 35, 0.8), 0 0 30px rgba(107, 142, 35, 0.5);
  }
}
.editable span {
  display: inline-block;
  margin-right: 0.5em;
}
.current-score {
  opacity: 0.8;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
}
.td-success {
  background: var(--success-bg) !important;
  color: var(--success-text) !important;
  border: 1px solid var(--success-border) !important;
  font-weight: 700;
}
.td-success:hover {
  background: rgba(107, 142, 35, 0.4) !important;
  box-shadow: var(--shadow-subtle) !important;
}
.td-fail {
  background: var(--fail-bg) !important;
  color: var(--fail-text) !important;
  border: 1px solid var(--fail-border) !important;
  font-weight: 700;
}
.td-fail:hover {
  background: rgba(139, 0, 0, 0.4) !important;
  box-shadow: var(--shadow-red) !important;
}
.td-special {
  background: var(--special-bg) !important;
  color: var(--special-text) !important;
  border: 1px solid rgba(205, 133, 63, 0.5) !important;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(205, 133, 63, 0.5);
}
.total-label {
  background: linear-gradient(
    135deg,
    var(--military-dark) 0%,
    #000 100%
  ) !important;
  color: var(--khaki-light) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: var(--font-size-md) !important;
  border-right: 2px solid var(--khaki) !important;
  position: sticky !important;
  left: 0 !important;
  bottom: 0 !important;
  z-index: 20 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.total-cell {
  background: var(--gradient-boss) !important;
  color: var(--military-black) !important;
  font-family: var(--font-heading) !important;
  font-weight: 900 !important;
  font-size: var(--font-size-lg) !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 15 !important;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  overflow-y: auto;
  padding: var(--space-4);
  backdrop-filter: blur(8px);
}
.modal-container {
  background: var(--military-surface);
  border: 2px solid var(--olive);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow:
    0 0 30px rgba(107, 142, 35, 0.3),
    inset 0 0 30px rgba(107, 142, 35, 0.05);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--olive);
  position: sticky;
  top: 0;
  background: var(--military-surface);
  z-index: 1;
}
.modal-header h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--khaki-light);
  margin: 0;
  text-shadow: var(--shadow-subtle);
}
.btn-close {
  background: transparent;
  border: 1px solid var(--red-military);
  color: var(--red-military);
  font-size: var(--font-size-2xl);
  cursor: pointer;
  padding: var(--space-1);
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  font-family: var(--font-heading);
}
.btn-close:hover {
  background: var(--red-military);
  color: var(--text-primary);
  box-shadow: var(--shadow-red);
}
.modal-content {
  padding: var(--space-5);
}
.modal-content h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--olive-light);
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
  border-left: 3px solid var(--olive);
  padding-left: var(--space-3);
}
.modal-content h4 {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--khaki-light);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}
.modal-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  line-height: 1.8;
}
.modal-content ol,
.modal-content ul {
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  padding-left: var(--space-5);
}
.modal-content li {
  margin-bottom: var(--space-2);
}
.modal-content strong {
  color: var(--olive-light);
  font-weight: 600;
}
.modal-content em {
  color: var(--text-muted);
  font-style: italic;
}
.modal-content small {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  display: block;
  margin-top: var(--space-2);
}
.modal-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--olive);
  display: flex;
  justify-content: flex-end;
  background: var(--military-surface-light);
}

.input-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

/* DART PAD STYLES */
.dart-pad-container {
  background: var(--military-surface);
  border: 2px solid var(--khaki);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  min-width: 420px;
  max-width: 500px;
  text-align: center;
  box-shadow:
    0 0 30px rgba(205, 133, 63, 0.3),
    inset 0 0 30px rgba(205, 133, 63, 0.05);
}
.dart-pad-title {
  color: var(--khaki-light);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.total-row {
  margin-top: var(--space-2);
  padding: var(--space-3);
  background: var(--military-surface-light);
  border-radius: var(--radius-sm);
  border-top: 2px solid var(--khaki);
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--khaki-light);
  font-weight: 700;
}
/* Rappel du total lancé quand il diffère des points retenus sur l'objectif. */
.total-row small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}
.total-row small:empty {
  display: none;
}
.objective-check {
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  line-height: 1.35;
}
.objective-check strong {
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
}
.objective-check small {
  display: block;
  opacity: 0.8;
  font-size: var(--font-size-xs);
}
.objective-check.pending {
  background: var(--military-surface-light);
  color: var(--text-secondary);
}
.objective-check.ok {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: var(--success-border);
}
.objective-check.ko {
  background: var(--fail-bg);
  color: var(--fail-text);
  border-color: var(--fail-border);
}

/* Taille ici et pas en style inline, sinon les media queries ne peuvent
           plus la réduire et la cible débordait du pavé sur mobile. */
#dartboardContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 450px;
  height: 450px;
  max-width: 100%;
  margin: 20px auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
#dartboardContainer svg {
  max-width: 100%;
  max-height: 100%;
}
#dartboardContainer text {
  pointer-events: none;
  user-select: none;
}
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 4000;
  backdrop-filter: blur(4px);
}
.feedback-overlay img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  border-radius: var(--radius-lg);
}
.feedback-overlay.show {
  display: flex;
  animation: fadeIn 0.8s ease-in-out;
}
.feedback-overlay.hide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.player-actions {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--military-surface-light);
  border: 1px solid var(--olive);
  border-radius: var(--radius-sm);
  z-index: 30;
  display: none;
  min-width: 180px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(107, 142, 35, 0.2);
}
.player-actions.show {
  display: block;
}
.player-actions button {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.player-actions button:last-child {
  border-bottom: none;
}
.player-actions button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--khaki-light);
}
.player-actions button.delete:hover {
  color: var(--red-military);
  background: rgba(139, 0, 0, 0.15);
}

.footer {
  text-align: center;
  padding: var(--space-4) var(--space-2);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: var(--space-8);
}
.footer p {
  font-family: var(--font-body);
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes militaryPulse {
  0%,
  100% {
    box-shadow: 0 0 3px var(--olive);
  }
  50% {
    box-shadow:
      0 0 8px var(--olive),
      0 0 12px var(--olive);
  }
}
.editable:hover,
.btn:hover,
.player-name:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .container {
    padding: var(--space-2);
  }
  .controls {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  th,
  td {
    font-size: var(--font-size-xs);
    padding: var(--space-2);
  }
  .dart-pad-container {
    min-width: 90%;
    padding: var(--space-3);
  }
  .logo {
    max-width: 150px;
  }
  .subtitle {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
  }
  #dartboardContainer {
    width: 350px;
    height: 350px;
  }
  #dartboardContainer svg {
    width: 350px;
    height: 350px;
  }
  th,
  .btn,
  .editable {
    animation: none !important;
  }
  .btn:hover,
  .editable:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}
@media (max-width: 480px) {
  .controls {
    gap: var(--space-2);
  }
  .btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-xs);
  }
  .modal-container {
    margin: var(--space-2);
  }
  #dartboardContainer {
    width: 300px;
    height: 300px;
  }
  #dartboardContainer svg {
    width: 300px;
    height: 300px;
  }
}

/* ============================================
   STYLES CIBLE DE FLÉCHETTES (dartboard SVG)
   ============================================ */
#dartboard .zone {
  cursor: pointer;
}

@media (hover: hover) {
  #dartboard .zone:hover {
    filter: brightness(1.45);
  }
}

#dartboard .wires {
  fill: none;
  stroke: #9aa0a6;
  stroke-width: 1.2;
  pointer-events: none;
}

#dartboard .numbers {
  fill: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
  user-select: none;
}

#dartboard .darts {
  pointer-events: none;
}

#dartboard .dart-impact {
  fill: rgba(0, 0, 0, 0.55);
}

#dartboard .dart-needle {
  stroke: #cfd8dc;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#dartboard .dart-barrel {
  fill: url(#barrelGrad);
  stroke: #4e5559;
  stroke-width: 0.6;
}

#dartboard .dart-shaft {
  fill: #2f3336;
}

#dartboard .dart-flight {
  fill: currentColor;
  stroke: rgba(0, 0, 0, 0.5);
  stroke-width: 0.8;
}

/* Couleurs distinctes pour chaque fléchette */
#dartboard .dart-1 { color: #e8b923; }
#dartboard .dart-2 { color: #35a7d8; }
#dartboard .dart-3 { color: #f2ece0; }

/* Animation de placement des fléchettes */
#dartboard .dart-body {
  animation: dart-plant 170ms ease-out;
}

@keyframes dart-plant {
  from {
    transform: translateX(22px);
    opacity: 0.25;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
