/* v6.16.511 — bottom cards share one inset; station names and match text wrap */
body:has(main.main) {
  padding-bottom: 0 !important;
}
main.main {
  padding-bottom: 12px !important;
}
html body:has(main[data-wf-home-polish]) [data-x="wf-home-hub"] {
  margin: 16px 0 0 !important;
}
html body:has(main[data-wf-home-polish]) #wf-games-home-host {
  margin: 12px 12px 0 !important;
  width: auto !important;
  box-sizing: border-box !important;
}
html body:has(main[data-wf-home-polish]) #wf-games-home-host #wf-sound-home-box {
  margin: 12px 0 0 !important;
}
html body #wf-games-home-host #wf-quran-home-tile {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
}
html body #wf-sound-home-box div[style*="text-overflow:ellipsis"] {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
html body #wf-sound-home-box > div[style*="overflow-x:auto"] {
  flex-wrap: wrap !important;
  overflow: visible !important;
}
html body .wfhh-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
html body .wfhh-tile b,
html body .wfhh-tile small,
html body .wfhh-row span {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: 100%;
}
html body .wfhh-row {
  align-items: flex-start !important;
}
[data-x="wf-legal92-footer"] {
  box-sizing: border-box;
  margin: 0 !important;
  padding: 16px 12px calc(88px + env(safe-area-inset-bottom)) !important;
}
body:has(main.main) #wf-legal-foot {
  display: none;
}
button.feature-card[data-x="wf-match-entry"] {
  overflow: visible;
  height: auto;
  align-items: flex-start;
}
button.feature-card[data-x="wf-match-entry"] span,
[data-x="wf-matching-card"] {
  min-width: 0;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.45;
  word-break: break-word;
}
