/* ============================================================
   Mobile Hero — Figma 01 (390 base). Fixed px — reliable across WebViews.
   ============================================================ */

.lh-home-anchor {
  position: relative;
  top: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

.lh-mhero,
.lh-mmonitor {
  display: none;
}

@media (max-width: 980px) {
  .lh-is-site .lh-hero {
    display: none !important;
  }

  .lh-is-site .lh-main {
    padding-top: 0 !important;
  }

  .lh-is-site .lh-mhero {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 0;
    overflow: visible;
    touch-action: pan-y;
    background: #030306;
    box-sizing: border-box;
  }

  .lh-is-site .lh-mhero-glow {
    position: absolute;
    left: 130px;
    top: 105px;
    width: 280px;
    height: 280px;
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
    z-index: 0;
  }

  .lh-is-site .lh-mhero-glow img {
    position: absolute;
    inset: -25%;
    width: 150%;
    height: 150%;
    max-width: none;
    display: block;
  }

  .lh-is-site .lh-mhero-aura {
    position: absolute;
    left: -10px;
    top: 45px;
    width: 440px;
    height: 440px;
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
    z-index: 0;
  }

  .lh-is-site .lh-mhero-aura img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: fill;
  }

  .lh-is-site .lh-mhero-fish {
    position: absolute;
    left: 25px;
    top: -72px;
    width: 440px;
    height: 484px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
  }

  .lh-is-site .lh-mhero-fish-inner {
    width: 440px;
    height: 484px;
    flex: none;
    transform: rotate(180deg) scaleY(-1);
    filter:
      drop-shadow(0 10px 28px rgba(0, 0, 0, 0.25))
      drop-shadow(0 0 14px rgba(232, 24, 72, 0.1));
  }

  .lh-is-site .lh-mhero-fish-inner img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    pointer-events: none;
  }

  .lh-is-site .lh-mhero-fade {
    position: absolute;
    left: 0;
    top: 335px;
    width: 100%;
    height: 410px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
      180deg,
      rgba(5, 4, 10, 0) 0%,
      rgba(5, 4, 10, 0.75) 45%,
      #05040a 100%
    );
  }

  .lh-is-site .lh-mhero-content,
  .lh-is-miniapp .lh-mhero-content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 clamp(16px, 4.2vw, 20px) 36px;
    padding-top: clamp(300px, 54vh, 420px);
    box-sizing: border-box;
    z-index: 3;
    overflow: visible;
  }

  .lh-is-site .lh-mhero-head-spacer {
    display: none;
  }

  .lh-is-site .lh-mhero-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(8px, 1.6vh, 10px);
    overflow: hidden;
    padding-bottom: 0;
  }

  .lh-is-site .lh-mhero-brand {
    display: none !important;
  }

  .lh-is-site .lh-mhero-title {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Unbounded", var(--lh-font-display), sans-serif;
    /* Integer px — vw fractions (24.96px) stair-step glyphs on phone GPUs */
    font-size: 25px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #f2f2f7;
  }

  .lh-is-site .lh-mhero-title span {
    display: block;
  }

  .lh-is-site .lh-mhero-support {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 34ch;
    font-family: "Manrope", var(--lh-font-body), sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #9a9aab;
  }

  .lh-is-site .lh-mhero-ctas {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.4vh, 10px);
  }

  .lh-is-site .lh-mhero-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 0;
    cursor: pointer;
    font-family: "Manrope", var(--lh-font-body), sans-serif;
    font-size: 15px;
    line-height: normal;
    border-radius: 14px;
    box-sizing: border-box;
  }

  .lh-is-site .lh-mhero-cta--primary {
    padding: clamp(13px, 2.2vh, 16px) 20px;
    color: #fff;
    font-weight: 700;
    background: #e81848;
    box-shadow: 0 8px 24px rgba(232, 24, 72, 0.5);
  }

  .lh-is-site .lh-mhero-cta--secondary {
    padding: clamp(12px, 2vh, 15px) 20px;
    color: #f2f2f7;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.28);
  }

  .lh-is-site .lh-mmonitor {
    display: block;
    width: 100%;
    padding: 20px 20px 22px;
    background: #030306;
    box-sizing: border-box;
  }

  .lh-is-site .lh-mmonitor .lh-monitor {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 350px !important;
    height: 390px !important;
    min-height: 390px !important;
    margin: 0 !important;
    padding: 16px 17px 14px !important;
    border: 1px solid rgba(232, 24, 72, 0.48) !important;
    border-radius: 24px !important;
    background: #050408 !important;
    box-shadow: 0 18px 40px rgba(232, 24, 72, 0.18) !important;
    animation: none !important;
    box-sizing: border-box !important;
  }

  .lh-is-site .lh-mmonitor .lh-monitor-stage {
    position: relative !important;
    display: block !important;
    min-height: 248px !important;
    max-height: 248px !important;
    height: 248px !important;
    flex: 1 1 auto !important;
    margin: 0 0 0.45rem !important;
    overflow: hidden !important;
    gap: 0 !important;
  }

  .lh-is-site .lh-mmonitor .lh-monitor-card.is-active {
    position: absolute !important;
    inset: auto !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    height: calc(100% - 3.2rem) !important;
    min-height: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 3 !important;
    animation: lh-monitor-card-enter 0.72s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  }

  .lh-is-site .lh-mmonitor .lh-monitor-card.is-preview {
    display: flex !important;
    position: absolute !important;
    inset: auto !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4.85rem !important;
    max-height: none !important;
    opacity: 0.38 !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transform: scale(0.97) !important;
    filter: saturate(0.75) !important;
    transition: opacity 0.45s ease, transform 0.45s ease !important;
  }

  .lh-is-site .lh-mmonitor .lh-monitor-card.is-preview .lh-monitor-card-meta,
  .lh-is-site .lh-mmonitor .lh-monitor-card.is-preview .lh-monitor-card-foot {
    display: none !important;
  }

  .lh-is-site .lh-mmonitor .lh-monitor-card.is-preview .lh-monitor-text {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 13px !important;
  }

  .lh-is-site .lh-mmonitor .lh-monitor-title {
    font-family: "Unbounded", sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  .lh-is-site .lh-mmonitor .lh-monitor-text {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  .lh-is-site .lh-mmonitor .lh-monitor-count-num {
    font-family: "Unbounded", sans-serif !important;
    font-size: 28px !important;
  }

  .lh-is-site .lh-mmonitor-kicker {
    margin: 0 0 10px;
    font-family: "JetBrains Mono", var(--lh-font-mono), monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e81848;
  }

  .lh-is-site .lh-mmonitor-title {
    margin: 0 0 18px;
    font-family: "Unbounded", var(--lh-font-display), sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.12;
    color: #f2f2fa;
  }

  .lh-is-site .lh-mmonitor-title span {
    display: block;
  }
}

@media (min-width: 981px) {
  .lh-mhero,
  .lh-mmonitor {
    display: none !important;
  }
}
