.pepper-bot-game-modal .modal-content {
  border:1px solid #2b3d4d;
  border-radius:16px;
  background:linear-gradient(145deg,#111d27,#0d1821);
  color:#eef3f7;
}

.pepper-bot-game-modal .modal-header {
  border-bottom:1px solid #2b3d4d;
  padding:20px 22px 16px;
}

.pepper-bot-game-modal .modal-body {
  padding:22px;
}

.pepper-bot-game-modal__eyebrow {
  margin-bottom:4px;
  color:#8fa0ae;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.pepper-bot-game-modal__intro {
  margin:0 0 18px;
  color:#a9b6c3;
  line-height:1.45;
}

.pepper-bot-game-modal__difficulty {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:16px 0 0;
  padding:0;
  border:0;
}

.pepper-bot-game-modal__difficulty legend {
  grid-column:1 / -1;
  width:auto;
  margin:0 0 2px;
  color:#eef3f7;
  font-size:13px;
  font-weight:800;
}

.pepper-bot-game-modal__difficulty-option {
  position:relative;
  display:flex;
  align-items:flex-start;
  min-width:0;
  min-height:84px;
  margin:0;
  padding:12px 12px 11px 38px;
  border:1px solid #2b3d4d;
  border-radius:10px;
  background:#0b151d;
  cursor:pointer;
}

.pepper-bot-game-modal__difficulty-option:hover {
  border-color:#496579;
}

.pepper-bot-game-modal__difficulty-option input {
  position:absolute;
  left:13px;
  top:15px;
  margin:0;
}

.pepper-bot-game-modal__difficulty-option:has(input:checked) {
  border-color:#d2a94d;
  background:rgba(210,169,77,.08);
  box-shadow:0 0 0 1px rgba(210,169,77,.16) inset;
}

.pepper-bot-game-modal__difficulty-option span {
  display:block;
  min-width:0;
}

.pepper-bot-game-modal__difficulty-option strong {
  display:block;
  margin-bottom:4px;
  color:#f5f8fa;
  font-size:13px;
  line-height:1.1;
}

.pepper-bot-game-modal__difficulty-option small {
  display:block;
  color:#93a3b0;
  font-size:11px;
  line-height:1.35;
}

.pepper-bot-game-modal__teams {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-top:14px;
  padding:10px 12px;
  border:1px solid #2b3d4d;
  border-radius:10px;
  background:#0b151d;
  color:#b9c4ce;
  font-size:12px;
}

.pepper-bot-game-modal__teams span:nth-child(2) {
  color:#f1c968;
  font-weight:800;
  text-transform:uppercase;
}

.pepper-bot-game-modal__start {
  width:100%;
  min-height:46px;
  margin-top:16px;
}

body[data-pepper-bot-mode="true"]
#pepper-app > div > .row.g-0:last-child .pepper-hand-wrapper > .row > .col-md-12 > .row:first-child {
  display:none !important;
}

body[data-pepper-bot-mode="true"] .player-roster__name {
  min-width:0;
}

body[data-pepper-bot-mode="true"] .player-roster__name:not(:empty) {
  text-overflow:ellipsis;
  overflow:hidden;
  white-space:nowrap;
}

.pepper-matchmaking-bot-fallback {
  flex:1 1 100%;
  min-height:44px;
}

html[data-pepper-theme="light"] .pepper-bot-game-modal .modal-content {
  border-color:#cdd8d2;
  background:linear-gradient(145deg,#ffffff,#f5f8f6);
  color:#203129;
}

html[data-pepper-theme="light"] .pepper-bot-game-modal .modal-header {
  border-bottom-color:#cdd8d2;
}

html[data-pepper-theme="light"] .pepper-bot-game-modal__eyebrow,
html[data-pepper-theme="light"] .pepper-bot-game-modal__intro {
  color:#6b7b72;
}

html[data-pepper-theme="light"] .pepper-bot-game-modal__difficulty legend,
html[data-pepper-theme="light"] .pepper-bot-game-modal__difficulty-option strong {
  color:#203129;
}

html[data-pepper-theme="light"] .pepper-bot-game-modal__difficulty-option {
  border-color:#cdd8d2;
  background:#f5f8f6;
}

html[data-pepper-theme="light"] .pepper-bot-game-modal__difficulty-option:has(input:checked) {
  border-color:#a87923;
  background:rgba(168,121,35,.08);
}

html[data-pepper-theme="light"] .pepper-bot-game-modal__difficulty-option small {
  color:#607168;
}

html[data-pepper-theme="light"] .pepper-bot-game-modal__teams {
  border-color:#cdd8d2;
  background:#f5f8f6;
  color:#52655b;
}

@media (max-width:479px) {
  .pepper-bot-game-modal .modal-body {
    padding:18px;
  }

  .pepper-bot-game-modal__difficulty {
    grid-template-columns:1fr;
  }

  .pepper-bot-game-modal__difficulty-option {
    min-height:70px;
  }
}