/* ========================================================================
   ЛАБА v46.5.5 — online strip + mobile action spacing + contest submit identity
   Incremental overrides loaded after v46.5.4.
   ======================================================================== */

/* Contest submission identity ------------------------------------------------ */
.contest-submit-note{
  margin:10px 0 0;
  color:#8f806d;
  font-family:Arial,sans-serif;
  font-size:12px;
  line-height:1.45;
}

.contest-submit-identity{
  width:min(620px,100%);
  margin:0 auto 22px;
  padding:14px 17px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:4px 12px;
  align-items:center;
  text-align:left;
  border:1px solid rgba(213,166,93,.34);
  border-radius:15px;
  background:
    radial-gradient(circle at 0 50%,rgba(213,166,93,.09),transparent 42%),
    rgba(18,17,15,.72);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.018),0 12px 30px rgba(0,0,0,.14);
}
.contest-submit-identity[hidden]{display:none!important}
.contest-submit-badge{
  grid-row:1/3;
  min-height:42px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(213,166,93,.44);
  border-radius:11px;
  color:#d6ad70;
  background:rgba(213,166,93,.07);
  font-family:Arial,sans-serif;
  font-size:10px;
  font-weight:700;
  letter-spacing:1.25px;
  white-space:nowrap;
}
.contest-submit-identity strong{
  min-width:0;
  color:#dfc08e;
  font-size:15px;
  font-weight:400;
  overflow-wrap:anywhere;
}
.contest-submit-identity small{
  min-width:0;
  color:#857b6d;
  font-family:Arial,sans-serif;
  font-size:10.5px;
  line-height:1.35;
}
.is-contest-submit .submit-send{
  border-color:rgba(213,166,93,.72);
  background:rgba(213,166,93,.13);
}

@media(max-width:760px){
  /* Put gallery primary actions a little lower, but keep their equal 50/50 grid. */
  .works-hero-actions{
    margin-top:17px!important;
  }

  /* Home must be allowed to grow beyond the browser viewport. Older revisions
     used an absolute content layer inside an overflow:hidden card; on shorter
     phones the live strip could exist below the clipped card. */
  .home-body{
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .home-body .landing-card{
    min-height:100svh!important;
    height:auto!important;
  }
  .home-body .landing-content{
    position:relative!important;
    inset:auto!important;
    min-height:100svh!important;
    height:auto!important;
    padding-bottom:max(92px,calc(74px + env(safe-area-inset-bottom)))!important;
  }
  .home-body .hero-stack{
    transform:none!important;
  }
  .home-body .community-live-strip{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:3!important;
    margin:12px auto 0!important;
    flex-wrap:wrap!important;
    max-width:calc(100vw - 28px)!important;
  }
  .home-body .landing-footer{
    margin:12px auto 0!important;
  }

  .contest-submit-identity{
    grid-template-columns:1fr;
    gap:5px;
    margin-bottom:18px;
    padding:13px 14px;
    text-align:center;
  }
  .contest-submit-badge{
    grid-row:auto;
    justify-self:center;
    min-height:30px;
    padding:0 10px;
    font-size:9px;
  }
  .contest-submit-identity strong{font-size:14px}
}
