/* ===== v25.18.6 No Midword Wrap =====
   Prevent awkward one-character Japanese line breaks in home banners and compact cards.
   Keep images static; only text sizing/wrapping is adjusted.
*/
:root{--v25186-text-strong:#211842;}

/* General home banner text should not split words like ワー/ルド or クリ/ア後. */
#homeScreen .homeGuestText,
#homeScreen .homeGuestText b,
#homeScreen .homeGuestText span,
#homeScreen .v2594MokoEntryText,
#homeScreen .v2594MokoEntryText b,
#homeScreen .v2594MokoEntryText span,
#homeScreen .v25183BossHomeText,
#homeScreen .v25183BossHomeText b,
#homeScreen .v25183BossHomeText span,
#homeScreen .v25183BossHomeText em,
#homeScreen .v25185DailyCompactCopy,
#homeScreen .v25185DailyCompactCopy *{
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  line-break:strict!important;
  text-wrap:balance;
}

/* Boss banner: shorter copy, wider readable text area, fixed line count. */
#homeScreen .v25183HomeBossChallengeBanner{
  min-height:104px!important;
  margin:8px 0!important;
}
#homeScreen .v25183BossHomeText{
  min-height:104px!important;
  max-width:66%!important;
  width:66%!important;
  padding:12px 16px!important;
  justify-content:center!important;
  gap:4px!important;
  box-sizing:border-box!important;
}
#homeScreen .v25183BossHomeText b{
  display:block!important;
  width:100%!important;
  font-size:18px!important;
  line-height:1.08!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#homeScreen .v25183BossHomeText span{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  font-size:11px!important;
  line-height:1.22!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#homeScreen .v25183BossHomeText em{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Mokomoko entry: use compact two-line layout, never split the title or クリア後. */
#homeScreen .v2594MokoEntry{
  min-height:112px!important;
  max-height:124px!important;
}
#homeScreen .v2594MokoEntryText{
  left:12px!important;
  right:12px!important;
  bottom:10px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:8px!important;
  color:var(--v25186-text-strong)!important;
  text-shadow:0 1px 0 rgba(255,255,255,.85)!important;
}
#homeScreen .v2594MokoEntryText b,
#homeScreen .v2594MokoEntryText span{
  display:block!important;
  min-width:0!important;
  background:rgba(255,255,255,.62)!important;
  border-radius:12px!important;
  padding:5px 8px!important;
  box-sizing:border-box!important;
}
#homeScreen .v2594MokoEntryText b{
  font-size:16px!important;
  line-height:1.08!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#homeScreen .v2594MokoEntryText span{
  font-size:10.5px!important;
  line-height:1.08!important;
  text-align:right!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Isekai / Nyanko compact cards: keep text horizontal and avoid CJK midword splitting. */
#homeScreen .homeGuestEventBanner .homeGuestText{
  min-width:0!important;
  overflow:hidden!important;
}
#homeScreen .homeGuestEventBanner .homeGuestText b{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#homeScreen .homeGuestEventBanner .homeGuestText span{
  display:block!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:unset!important;
}

@media(max-width:430px){
  #homeScreen .v25183BossHomeText{
    max-width:64%!important;
    width:64%!important;
    padding:11px 13px!important;
  }
  #homeScreen .v25183BossHomeText b{font-size:16px!important;}
  #homeScreen .v25183BossHomeText span{font-size:10px!important;}
  #homeScreen .v25183BossHomeText em{font-size:10px!important;padding:4px 8px!important;}
  #homeScreen .v2594MokoEntryText{
    grid-template-columns:1fr!important;
    align-items:start!important;
    gap:4px!important;
    right:44%!important;
  }
  #homeScreen .v2594MokoEntryText b{font-size:14px!important;}
  #homeScreen .v2594MokoEntryText span{text-align:left!important;font-size:10px!important;}
}
