	.mb-3 {margin-bottom: 0 !important;}
    	.mt-2 {margin-top: 0 !important;}
    	.mt-3 {margin-top: 0.2em !important;}
    	.alert-info {
    	--bs-alert-padding-y: 0.5rem;
    	--bs-alert-margin-bottom: 0rem}
    	#btn-jouer-container .mb-3 {margin-bottom: 0 !important;}
	#join-section {padding:0 !important}
        .bodyJeu { background-color: black; background-image: none;}
  #zonejeu { 
      min-height: 300px;
      border-radius: 8px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
  }
  #dice-container {
      position: absolute;
      z-index: 1000;
  }
  #dice-container.clickable {
      cursor: pointer;
      pointer-events: auto;
  }
  #dice-container:not(.clickable) {
      pointer-events: none;
  }
  #board-status {
      position: absolute;
      z-index: 1001;
      pointer-events: none;
      color: #5c3d4f;
      font-weight: 800;
      font-size: 0.75rem;
      line-height: 1.2;
      text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75);
      max-width: 240px;
  }
  #dice-container svg {
      width: 100%;
      height: 100%;
  }
  #jeu { 
      border-radius: 8px; 
      background-size: 100% 100%;
      background-repeat: no-repeat;
      max-width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
  }
  #consolePartie { 
      height: 108px; 
      overflow-y: auto; 
      border: 1px solid #ddd; 
      padding: 3px; 
      margin-top: 4px; 
      background: linear-gradient(180deg, #fff 0%, #fff8fb 100%);
      font-size: 0.95em;
      display: flex;
      flex-direction: column;
      gap: 4px;
  }
  #chat-panel {
      margin-top: 8px;
      display: flex;
      flex-direction: column;
      gap: 6px;
  }
  #chat-input-row {
      display: flex;
      gap: 6px;
  }
  #chat-message {
      flex: 1 1 auto;
      min-width: 0;
  }
  #chat-log {
      height: 108px;
      overflow-y: auto;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 6px 8px;
      background: #fff;
      font-size: 0.9rem;
  }
  .chat-entry + .chat-entry {
      margin-top: 4px;
  }
  .chat-author {
      font-weight: 700;
      color: #7a284b;
      margin-right: 6px;
  }
  .console-entry {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 2px 10px;
      border-radius: 12px;
      border: 1px solid #f0d7e4;
      background: #ffffff;
      box-shadow: 0 2px 8px rgba(214, 51, 132, 0.08);
  }
  .console-entry--move { font-weight: 500; }
  .console-entry--system {
      border-style: dashed;
      background: #fffdf8;
      color: #7a5c3b;
  }
  .console-entry--neutral { border-left: 5px solid #adb5bd; }
  .console-entry--love { border-left: 5px solid #d63384; background: #fff0f6; }
  .console-entry--spark { border-left: 5px solid #fd7e14; background: #fff4e6; }
  .console-entry--danger { border-left: 5px solid #dc3545; background: #fff1f3; }
  .console-entry--goal { border-left: 5px solid #198754; background: #eefbf3; }
  .console-icon {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      object-fit: cover;
      flex: 0 0 auto;
  }
  .console-text {
      flex: 1 1 auto;
      min-width: 0;
  }
  .console-badges {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
  }
  .console-badge {
      display: inline-flex;
      align-items: center;
      padding: 2px 8px;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      background: #f3f4f6;
      color: #495057;
  }
  .console-badge--turn { background: #212529; color: #fff; }
  .console-badge--neutral { background: #e9ecef; color: #495057; }
  .console-badge--love { background: #ffd6e7; color: #a61e4d; }
  .console-badge--spark { background: #ffe8cc; color: #b3541e; }
  .console-badge--danger { background: #ffdce0; color: #b42318; }
  .console-badge--goal { background: #d3f9d8; color: #2b8a3e; }
  .console-badge--system { background: #fff3cd; color: #7a5c00; }
  .console-entry small {
      color: #6c757d;
      font-size: 0.78rem;
  }
  .move-choice-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 10px;
  }
  .move-choice-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 10px 12px;
      text-align: left;
      border-radius: 14px;
  }
  .move-choice-btn img {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      object-fit: cover;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
      flex: 0 0 auto;
  }
  .move-choice-label {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
  }
  .move-choice-label strong {
      font-size: 0.95rem;
  }
  .move-choice-label span {
      font-size: 0.8rem;
      opacity: 0.8;
  }
  .decision-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 10px;
  }
  .decision-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 10px 12px;
      text-align: left;
      border-radius: 14px;
  }
  .decision-btn img {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      object-fit: cover;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
      flex: 0 0 auto;
  }
  .decision-label {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
  }
  .decision-label strong {
      font-size: 0.95rem;
  }
  .decision-label span {
      font-size: 0.8rem;
      opacity: 0.8;
  }
  .turn-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 12px;
  }
  .turn-timer {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      background: #fff3cd;
      color: #7a5c00;
      font-weight: 700;
      font-size: 0.9rem;
  }
  .turn-timer--danger {
      background: #ffdce0;
      color: #b42318;
  }
  #btn-quit-game {
      background: #ffffff;
      border-color: #dc3545;
      color: #b42318;
  }
  #btn-quit-game:hover,
  #btn-quit-game:focus {
      background: #fff5f5;
      border-color: #b42318;
      color: #8f1d16;
  }
  #tourPartie { display: none; }
  .player-info { padding: 5px 5px; }
  .robot { color: #6c757d; font-style: italic; }
  .human { color: #0d6efd; font-weight: bold; }
  #BtnCommencer { display: none !important; } /* Cacher le bouton du mode face à face */
  /*
  @media (max-width: 767.98px) {
      #zonejeu {
          margin-bottom: 20px !important; 
      }
      #suivi {
          margin-top: 10px !important;
      }
  }
  */
  #titre-carousel {
	font-size: 2rem;
	color:red;
  }
	#automat{vertical-align: sub;}
  
@media (max-width: 414px) {
    #titre-carousel {font-size: 1.5rem;}
	#automat{font-size: 0.8rem;}
}
@media (max-width: 350px) {
    #titre-carousel {font-size: 1.2rem;}
	#automat{font-size: 0.6rem;}
}

.player-info img {
    filter:
        drop-shadow(1px 0 0 white)
        drop-shadow(-1px 0 0 white)
        drop-shadow(0 1px 0 white)
        drop-shadow(0 -1px 0 white);
}
