/* Bright illustrated selection cards on the homepage generator. */
#modeTabs.mode-tabs {
  gap: 0;
  border-bottom: 1px solid #dcdde5;
  background: #fff;
}
#modeTabs .mode-tab,
#modeTabs .mode-link-card {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
#modeTabs .mode-tab.active {
  border: 0;
  background: #fff;
  box-shadow: none;
}
#modeTabs .mode-tab.active::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f22bdb, #ae37ff 50%, #00c6ff);
}
#modeTabs .mode-tab:not(:disabled):hover,
#modeTabs .mode-link-card:hover { transform: none; }
html[data-theme="dark"] #modeTabs.mode-tabs {
  border-bottom-color: #4a4558;
  background: #282633;
}
html[data-theme="dark"] #modeTabs .mode-tab,
html[data-theme="dark"] #modeTabs .mode-link-card,
html[data-theme="dark"] #modeTabs .mode-tab.active {
  border: 0;
  background: #282633;
  box-shadow: none;
}
.occasion-grid > .occasion-card .occasion-img {
  width: 64px;
  height: 64px;
}
.genre-pick-card .genre-icon-img,
.voice-pick-card .voice-icon-img {
  width: 52px;
  height: 52px;
}
.text-mode-tab .text-mode-icon-img {
  width: 42px;
  height: 42px;
}
@media (max-width: 640px) {
  .genre-pick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .genre-pick-card {
    min-height: 96px;
    padding: 8px 4px;
    gap: 5px;
    font-size: .72rem;
    line-height: 1.15;
  }
  .genre-pick-card span small {
    font-size: .6rem;
  }
  .genre-pick-cell:has(.genre-pick-card.expanded) {
    grid-column: 1 / -1;
  }
  .genre-pick-cell:has(.genre-pick-card.expanded) .genre-pick-card {
    min-height: 68px;
    flex-direction: row;
  }
  .occasion-grid > .occasion-card .occasion-img {
    width: 51px;
    height: 51px;
  }
  .genre-pick-card .genre-icon-img {
    width: 44px;
    height: 44px;
  }
  .voice-pick-card .voice-icon-img {
    width: 46px;
    height: 46px;
  }
}
