.break-dice-module {
  width: 100%;
  max-width: 1280px;
  min-height: calc(100vh - 140px);
}

.break-dice-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: start;
  gap: clamp(24px, 3vw, 36px);
  min-height: calc(100vh - 140px);
  padding: 16px 0 36px;
}

.break-main-stage {
  min-width: 0;
  min-height: calc(100vh - 160px);
}

.break-dice-board {
  position: relative;
  width: 76px;
  height: 76px;
  perspective: 720px;
}

.break-relax-stack {
  position: sticky;
  top: 16px;
  width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

@media (max-width: 960px) {
  .break-dice-shell {
    grid-template-columns: 1fr;
  }

  .break-main-stage {
    min-height: auto;
  }

  .break-dice-board {
    width: 72px;
    height: 72px;
  }

  .break-relax-stack {
    position: static;
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .break-dice-module,
  .break-dice-shell {
    min-height: 320px;
  }

  .break-dice-shell {
    gap: 18px;
    padding-bottom: 28px;
  }

  .break-dice-board {
    width: 64px;
    height: 64px;
  }

  .break-relax-stack {
    justify-content: center;
  }
}


.break-games-section {
  margin-top: clamp(34px, 4vw, 48px);
}

.break-games-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(18px, 2vw, 24px);
}

.break-games-title {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.15;
  font-weight: 800;
  color: #1d1d1f;
}

.break-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 132px);
  gap: 28px 36px;
  justify-content: start;
  align-items: start;
}

.break-game-entry {
  width: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.break-game-app {
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
}

.break-game-icon-wrap {
  width: 88px;
  height: 88px;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 8px 8px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.break-game-icon-wrap.is-image-only {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.break-game-app:hover .break-game-icon-wrap,
.break-game-app:focus-visible .break-game-icon-wrap {
  transform: translateY(-2px);
  border-color: rgba(52, 199, 89, 0.2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.break-game-app:focus-visible {
  outline: none;
}

.break-game-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.break-game-icon-image {
  width: 100%;
  height: 100%;
}

.break-game-icon-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}

.break-game-icon-fallback {
  font-size: 28px;
  line-height: 1;
}

.break-game-title {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #2c2c2e;
  text-align: center;
}

.break-game-fullname {
  width: 132px;
  font-size: 14px;
  line-height: 1.45;
  color: #5c5c62;
  text-align: center;
}

.break-games-empty {
  min-height: 132px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.44);
  color: #6e6e73;
}


@media (max-width: 680px) {
  .break-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 22px 18px;
  }

  .break-game-entry,
  .break-game-app,
  .break-game-fullname {
    width: 100%;
  }

  .break-game-app {
    height: auto;
  }

  .break-game-icon-wrap {
    width: min(88px, 100%);
    height: min(88px, 100%);
  }
}
