.home-mobile-help { display: none; }

@media (max-width: 760px) {
  body[data-page="home"] .dosmos-pro-footer {
    padding-bottom: 20px !important;
  }
  body[data-page="home"] .dosmos-brand-links-v50 {
    margin: 12px auto calc(72px + env(safe-area-inset-bottom, 0px));
    padding-inline: 12px;
  }
  body[data-page="home"] .dosmos-brand-links-v50__inner { padding: 14px; }
  body[data-page="home"] .dosmos-brand-links-v50 nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  body[data-page="home"] .dosmos-brand-links-v50 nav a {
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 8px 6px;
    text-align: center;
    overflow-wrap: anywhere;
  }

  body.home-help-ready :is(#dosmosLightningOrb, #dosmosMysteryOrb, .jwj-floating, #dosmosLivechatFloat),
  body.home-help-ready:not(.home-help-chat-open) #dosmosLivechatTagRoot {
    display: none !important;
  }
  body.home-help-chat-open #dosmosLivechatTagRoot {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    max-height: calc(100dvh - 84px - env(safe-area-inset-bottom, 0px)) !important;
  }
  body.home-help-ready .home-mobile-help {
    position: fixed;
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 2147482998;
    display: grid;
    justify-items: end;
    gap: 8px;
  }
  .home-mobile-help [hidden] { display: none !important; }
  .home-mobile-help__panel {
    width: min(252px, calc(100vw - 44px));
    max-height: calc(100dvh - 84px - env(safe-area-inset-bottom, 0px));
    overflow: auto;
    display: grid;
    gap: 4px;
    padding: 8px;
    background: #15120c;
    border: 1px solid #84652a;
    border-radius: 14px;
    box-shadow: 0 10px 26px #0009;
  }
  .home-mobile-help :is(button, a) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    background: #221a0e;
    color: #fff1ce;
    font: inherit;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
  }
  .home-mobile-help #homeHelpToggle {
    border-radius: 999px;
    padding-inline: 16px;
    background: #edc460;
    color: #171007;
    font-weight: 800;
    box-shadow: 0 4px 14px #0008;
  }
  .home-mobile-help :focus-visible { outline: 2px solid #ffe4a1; outline-offset: 2px; }
}
