.content.fruit-party-active {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.fruit-game-embedded-mount {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.bl-fruit-shell {
  --bl-fruit-grid-size: 420px;
  --bl-fruit-side-size: 260px;
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(5px, 0.8vh, 9px);
  padding: clamp(5px, 0.9vh, 10px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(37, 0, 45, 0.86), rgba(86, 0, 94, 0.76)),
    url("../../../img/logo/logogrand.png") center / min(76vw, 980px) auto no-repeat;
}

.bl-fruit-top {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(160px, 1.6fr) minmax(100px, 0.58fr) minmax(88px, 0.45fr) minmax(72px, 0.35fr) minmax(72px, 0.35fr);
  gap: 7px;
  align-items: stretch;
}

.bl-fruit-brand,
.bl-fruit-field,
.bl-fruit-result,
.bl-fruit-list,
.bl-fruit-auto-panel,
.bl-fruit-note {
  border: 1px solid var(--bl-line, rgba(255, 255, 255, 0.16));
  border-radius: 8px;
  background: rgba(24, 0, 32, 0.78);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.bl-fruit-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
}

.bl-fruit-brand img {
  width: clamp(32px, 4.5vh, 44px);
  height: clamp(32px, 4.5vh, 44px);
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
  flex: 0 0 auto;
}

.bl-fruit-brand strong {
  display: block;
  color: #fff;
  font-size: clamp(15px, 1.55vw, 24px);
  font-weight: 900;
  line-height: 1;
}

.bl-fruit-brand span {
  display: block;
  color: var(--bl-cyan, #15c7e8);
  font-weight: 800;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bl-fruit-field {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 5px 9px;
}

.bl-fruit-field span,
.bl-fruit-result span,
.bl-fruit-list h3 {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.bl-fruit-field select,
.bl-fruit-auto-panel select {
  width: 100%;
  min-width: 0;
  min-height: 27px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--bl-ink, #211526);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 900;
  padding: 0 6px;
}

.bl-fruit-top button,
.bl-fruit-button,
.bl-fruit-primary {
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(12px, 1.05vw, 16px);
  background: var(--bl-purple-700, #761083);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.bl-fruit-primary {
  background: linear-gradient(135deg, var(--bl-cyan, #15c7e8), var(--bl-purple-600, #8c1699));
}

.bl-fruit-stop {
  background: #2a102f;
}

.bl-fruit-top button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.bl-fruit-main {
  min-height: 0;
  display: grid;
  grid-template-columns: var(--bl-fruit-grid-size) minmax(128px, var(--bl-fruit-side-size));
  gap: clamp(6px, 0.9vw, 10px);
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
}

.bl-fruit-board {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: var(--bl-fruit-grid-size) minmax(26px, 34px);
  gap: 6px;
  align-content: center;
}

.bl-fruit-grid {
  width: var(--bl-fruit-grid-size);
  height: var(--bl-fruit-grid-size);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: clamp(3px, 0.55vw, 7px);
  padding: clamp(4px, 0.65vw, 8px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(19, 0, 25, 0.58);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.28), 0 16px 36px rgba(0, 0, 0, 0.24);
}

.bl-fruit-cell {
  min-width: 0;
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 221, 244, 0.88));
  box-shadow: inset 0 -8px 14px rgba(72, 0, 80, 0.12), 0 5px 12px rgba(0, 0, 0, 0.16);
  font-size: clamp(18px, calc(var(--bl-fruit-grid-size) / 10.8), 48px);
  animation: blFruitFall 680ms cubic-bezier(0.16, 0.78, 0.18, 1) both;
}

.bl-fruit-cell.is-static {
  animation: none;
}

.bl-fruit-cell.is-cascade-drop {
  animation: blFruitCascadeDrop 880ms cubic-bezier(0.16, 0.78, 0.18, 1) both;
}

.bl-fruit-cell.is-new-drop {
  animation: blFruitNewDrop 960ms cubic-bezier(0.16, 0.78, 0.18, 1) both;
}

.bl-fruit-cell.is-star {
  background: radial-gradient(circle at 28% 20%, #fff, #ffe487 48%, #f2a21e);
  box-shadow: 0 0 18px rgba(255, 228, 135, 0.68), inset 0 -7px 13px rgba(96, 49, 0, 0.22);
}

.bl-fruit-cell.is-winning {
  outline: 2px solid var(--bl-cyan, #15c7e8);
  box-shadow: 0 0 0 4px rgba(21, 199, 232, 0.18), 0 0 20px rgba(21, 199, 232, 0.42);
  animation: blFruitPulse 860ms ease-in-out infinite alternate;
}

.bl-fruit-cell.is-popping {
  animation: blFruitPop 680ms ease-in forwards;
}

.bl-fruit-cell em {
  position: absolute;
  right: 3px;
  bottom: 3px;
  min-width: 22px;
  min-height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--bl-purple-950, #25002d);
  color: #fff;
  font-size: clamp(9px, calc(var(--bl-fruit-grid-size) / 34), 13px);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.bl-fruit-strip {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(24, 0, 32, 0.82);
  color: #fff;
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 900;
  text-align: center;
  padding: 2px 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bl-fruit-side {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(42px, 0.3fr) minmax(32px, 0.22fr) minmax(178px, 1.45fr) minmax(42px, 0.28fr) minmax(38px, 0.26fr) minmax(28px, 0.18fr);
  gap: 6px;
  overflow: hidden;
}

.bl-fruit-result,
.bl-fruit-list,
.bl-fruit-auto-panel,
.bl-fruit-note {
  min-height: 0;
  overflow: hidden;
  padding: 7px 8px;
}

.bl-fruit-result {
  display: grid;
  align-content: center;
  text-align: center;
}

.bl-fruit-result strong {
  color: #fff;
  font-size: clamp(22px, 3.2vw, 42px);
  line-height: 1;
}

.bl-fruit-result small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.bl-fruit-result.is-big {
  box-shadow: 0 0 28px rgba(21, 199, 232, 0.5), inset 0 0 22px rgba(21, 199, 232, 0.1);
}

.bl-fruit-auto-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
}

.bl-fruit-auto-panel span,
.bl-fruit-free {
  color: #fff;
  font-weight: 900;
  font-size: clamp(12px, 1.1vw, 15px);
}

.bl-fruit-free {
  min-width: 0;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(10px, 0.86vw, 12px);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.bl-fruit-free.has-free,
.bl-fruit-list p.is-free strong,
.bl-fruit-list p.is-free span {
  color: #ffe66e;
}

.bl-fruit-free.has-free {
  background: rgba(255, 230, 110, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 230, 110, 0.24);
}

.bl-fruit-list {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 4px;
}

.bl-fruit-list p,
.bl-fruit-history li {
  margin: 0;
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 800;
  line-height: 1.05;
}

.bl-fruit-list strong {
  color: var(--bl-cyan, #15c7e8);
}

.bl-fruit-paytable {
  gap: 3px;
}

.bl-fruit-paytable #blFruitPaytable {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 3px;
  overflow: hidden;
}

.bl-fruit-symbols {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px;
  align-items: center;
}

.bl-fruit-symbols span,
.bl-fruit-paytable small {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(8px, 0.75vw, 10px);
  font-weight: 800;
  line-height: 1.05;
}

.bl-fruit-symbols strong {
  min-width: 0;
  color: #fff;
  font-size: clamp(11px, 1vw, 15px);
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bl-fruit-paytable table {
  width: 100%;
  height: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
}

.bl-fruit-paytable th,
.bl-fruit-paytable td {
  padding: 1px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.bl-fruit-paytable th:first-child,
.bl-fruit-paytable td:first-child {
  width: 28%;
}

.bl-fruit-paytable th:first-child,
.bl-fruit-paytable td:first-child {
  text-align: left;
}

.bl-fruit-paytable th {
  color: rgba(255, 255, 255, 0.54);
  font-size: clamp(8px, 0.7vw, 10px);
  text-transform: uppercase;
}

.bl-fruit-rank {
  display: inline-flex;
  min-width: 22px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(12px, 1vw, 16px);
}

.bl-fruit-paytable p {
  min-height: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(9px, 0.82vw, 11px);
  line-height: 1.08;
}

.bl-fruit-paytable p strong {
  color: #fff;
}

.bl-fruit-paytable p span {
  color: var(--bl-cyan, #15c7e8);
  font-weight: 900;
}

.bl-fruit-history ol,
.bl-fruit-history #blFruitHistory {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 3px;
  overflow: hidden;
}

.bl-fruit-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(9px, 0.82vw, 11px);
  line-height: 1.16;
}

@keyframes blFruitFall {
  from { opacity: 0; transform: translateY(-32%) scale(0.86); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes blFruitCascadeDrop {
  from { transform: translateY(var(--bl-fruit-fall-y, -116%)); }
  to { transform: translateY(0); }
}

@keyframes blFruitNewDrop {
  from { opacity: 0; transform: translateY(var(--bl-fruit-fall-y, -232%)) scale(0.9); }
  28% { opacity: 1; }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes blFruitPulse {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes blFruitPop {
  0% { opacity: 1; transform: scale(1.08); filter: saturate(1.18); }
  65% { opacity: 0.5; transform: scale(1.28) rotate(7deg); }
  100% { opacity: 0; transform: scale(0.12) rotate(20deg); }
}

@media only screen and (max-width: 992px) {
  .lesboutonsmenu {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .boutonmenu {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    padding: 0 2px;
    font-size: clamp(9px, 2vw, 12px) !important;
    border-radius: 0 !important;
  }

  .bl-fruit-shell {
    padding: 4px;
    gap: 4px;
  }

  .bl-fruit-top {
    min-height: 76px;
    grid-template-columns: minmax(104px, 1.2fr) minmax(76px, 0.8fr) repeat(3, minmax(48px, 0.46fr));
    gap: 4px;
  }

  .bl-fruit-brand {
    padding: 4px 6px;
  }

  .bl-fruit-brand img {
    display: none;
  }

  .bl-fruit-brand strong {
    font-size: clamp(14px, 3.8vw, 18px);
  }

  .bl-fruit-brand span {
    font-size: clamp(10px, 2.6vw, 12px);
  }

  .bl-fruit-field,
  .bl-fruit-result,
  .bl-fruit-list,
  .bl-fruit-auto-panel,
  .bl-fruit-note {
    padding: 5px;
  }

  .bl-fruit-main {
    grid-template-columns: var(--bl-fruit-grid-size) minmax(108px, var(--bl-fruit-side-size));
    gap: 4px;
  }

  .bl-fruit-side {
    grid-template-rows: minmax(36px, 0.28fr) minmax(28px, 0.2fr) minmax(160px, 1.4fr) minmax(36px, 0.26fr) minmax(32px, 0.22fr) minmax(24px, 0.18fr);
    gap: 4px;
  }

  .bl-fruit-note {
    font-size: 7px;
    line-height: 1.05;
  }
}

@media only screen and (max-width: 560px) {
  .bl-fruit-top {
    grid-template-columns: minmax(82px, 1fr) minmax(64px, 0.72fr) repeat(3, minmax(38px, 0.46fr));
  }

  .bl-fruit-top button,
  .bl-fruit-button,
  .bl-fruit-primary {
    min-height: 38px;
    font-size: 11px;
  }

  .bl-fruit-field select,
  .bl-fruit-auto-panel select {
    min-height: 24px;
    font-size: 11px;
    padding: 0 2px;
  }

  .bl-fruit-auto-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bl-fruit-free {
    grid-column: 1 / -1;
    padding: 3px 4px;
    font-size: 9px;
  }
}
