/* The faction character lives behind the HUD, so the complete speech bubble
   must begin below it instead of allowing the first line to hide underneath. */
.cf-hourly-dialog,
.cf-hourly-dialog.is-waiting {
  top: clamp(186px, 25vh, 232px);
}

/* The tasks shortcut is created by an independent module. Keep it out of
   sight until the game has left every startup/registration screen. */
html.cf-first-load-required .cf-newcomer-launcher,
body:has(.loading-root) .cf-newcomer-launcher,
body:has(.loading-screen) .cf-newcomer-launcher,
body:has(.register-root) .cf-newcomer-launcher,
body:has(.login-page) .cf-newcomer-launcher {
  display: none !important;
}

@media (max-height: 720px) {
  .cf-hourly-dialog,
  .cf-hourly-dialog.is-waiting {
    top: 186px;
  }
}

@media (max-height: 600px) {
  .cf-hourly-dialog,
  .cf-hourly-dialog.is-waiting {
    top: 174px;
  }

  .cf-hourly-dialog p {
    margin-bottom: 5px;
    font-size: 10px;
  }
}
