/* Haitian Corner first-run onboarding */
#hcFirstRunOnboarding{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:none;
  background:#f5f7fb;
  color:#0b2146;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  overflow:hidden;
  overscroll-behavior:none;
}

#hcFirstRunOnboarding.hc-onboarding-open{
  display:block;
}

.hc-ob-shell{
  width:100%;
  height:100%;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  background:
    radial-gradient(circle at 90% 5%,rgba(18,95,210,.12),transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f5f7fb 100%);
}

.hc-ob-top{
  height:74px;
  padding:
    max(14px,env(safe-area-inset-top))
    22px 8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex:0 0 auto;
}

.hc-ob-brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.hc-ob-logo{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:15px;
  font-weight:900;
  letter-spacing:-.4px;
  background:linear-gradient(145deg,#0758c9 0 64%,#d71935 64%);
  box-shadow:0 7px 18px rgba(3,63,135,.22);
}

.hc-ob-brand-text{
  font-size:15px;
  font-weight:850;
  letter-spacing:-.2px;
}

.hc-ob-skip{
  border:0;
  background:transparent;
  color:#19447f;
  font:inherit;
  font-size:14px;
  font-weight:800;
  padding:10px;
  cursor:pointer;
}

.hc-ob-viewport{
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
  touch-action:pan-y;
}

.hc-ob-track{
  height:100%;
  display:flex;
  transition:transform .42s cubic-bezier(.22,.78,.28,1);
  will-change:transform;
}

.hc-ob-slide{
  flex:0 0 100%;
  width:100%;
  height:100%;
  padding:4px 22px 12px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  overflow-y:auto;
}

.hc-ob-kicker{
  margin-top:5px;
  color:#0b61d8;
  font-size:11px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:1.8px;
  text-transform:uppercase;
}

.hc-ob-title{
  margin:10px auto 8px;
  max-width:390px;
  color:#081f45;
  font-size:clamp(28px,8vw,40px);
  line-height:1.04;
  letter-spacing:-1.3px;
  font-weight:900;
}

.hc-ob-copy{
  margin:0 auto 18px;
  max-width:390px;
  color:#59708f;
  font-size:15px;
  line-height:1.48;
}

.hc-ob-visual{
  position:relative;
  width:min(100%,430px);
  min-height:315px;
  margin:auto 0;
  border-radius:30px;
  overflow:hidden;
  text-align:left;
  color:#fff;
  box-shadow:0 24px 55px rgba(8,31,69,.18);
}

.hc-ob-visual::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 82% 16%,rgba(255,255,255,.25),transparent 20%),
    linear-gradient(160deg,rgba(255,255,255,.10),transparent 44%);
  pointer-events:none;
}

.hc-ob-community{
  background:linear-gradient(145deg,#061d42,#0b56bd);
}

.hc-ob-events{
  background:linear-gradient(145deg,#741322,#e33537 58%,#f4a11a);
}

.hc-ob-business{
  background:linear-gradient(145deg,#073b32,#11845e 60%,#e2a933);
}

.hc-ob-discover{
  background:linear-gradient(145deg,#3a1769,#7d32ad 56%,#d52f72);
}

.hc-ob-scene{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:108px;
  opacity:.92;
  transform:translateY(-14px);
}

.hc-ob-mini-card{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:2;
  padding:16px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:20px;
  color:#10284c;
  background:rgba(255,255,255,.94);
  box-shadow:0 13px 30px rgba(5,25,58,.18);
  backdrop-filter:blur(12px);
}

.hc-ob-card-label{
  margin-bottom:7px;
  color:#1764cf;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.hc-ob-card-title{
  font-size:18px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.35px;
}

.hc-ob-card-copy{
  margin-top:6px;
  color:#657894;
  font-size:12px;
  line-height:1.35;
}

.hc-ob-pills{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:11px;
}

.hc-ob-pill{
  padding:6px 9px;
  border-radius:999px;
  color:#155fc4;
  background:#eaf2ff;
  font-size:10px;
  font-weight:850;
}

.hc-ob-bottom{
  flex:0 0 auto;
  padding:12px 22px max(18px,env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(245,247,251,0),#f5f7fb 18%);
}

.hc-ob-dots{
  min-height:22px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}

.hc-ob-dot{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#c9d3e1;
  transition:width .25s ease,background .25s ease;
  cursor:pointer;
}

.hc-ob-dot.hc-ob-active{
  width:24px;
  background:#0862d8;
}

.hc-ob-next{
  width:100%;
  min-height:54px;
  border:0;
  border-radius:17px;
  background:linear-gradient(135deg,#0759ca,#0874eb);
  color:#fff;
  font-size:16px;
  font-weight:900;
  box-shadow:0 12px 24px rgba(7,89,202,.25);
  cursor:pointer;
}

.hc-ob-next:active{
  transform:translateY(1px);
}

@media (min-width:700px){
  #hcFirstRunOnboarding{
    background:rgba(4,19,43,.72);
    backdrop-filter:blur(12px);
  }

  .hc-ob-shell{
    width:480px;
    height:min(900px,94vh);
    min-height:0;
    margin:3vh auto;
    border-radius:32px;
    overflow:hidden;
    box-shadow:0 30px 90px rgba(0,0,0,.35);
  }
}

@media (max-height:700px){
  .hc-ob-title{
    font-size:27px;
  }

  .hc-ob-copy{
    margin-bottom:10px;
  }

  .hc-ob-visual{
    min-height:250px;
  }

  .hc-ob-scene{
    font-size:82px;
  }
}

@media (prefers-reduced-motion:reduce){
  .hc-ob-track{
    transition:none;
  }
}


/* Production onboarding photography */
.hc-ob-photo{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}

.hc-ob-visual::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(
      180deg,
      rgba(3,20,48,.02) 0%,
      rgba(3,20,48,.05) 47%,
      rgba(3,20,48,.34) 100%
    );
}

.hc-ob-community .hc-ob-photo{
  object-position:center 38%;
}

.hc-ob-events .hc-ob-photo{
  object-position:center 35%;
}

.hc-ob-business .hc-ob-photo{
  object-position:center 31%;
}

.hc-ob-discover .hc-ob-photo{
  object-position:center 36%;
}

/* Taller onboarding photography — v3 */
.hc-ob-visual{
  flex:0 0 auto;
  min-height:400px;
}

.hc-ob-mini-card{
  left:14px;
  right:14px;
  bottom:12px;
  padding:13px 14px;
  border-radius:18px;
}

.hc-ob-card-label{
  margin-bottom:5px;
}

.hc-ob-card-title{
  font-size:17px;
}

.hc-ob-card-copy{
  margin-top:4px;
  line-height:1.3;
}

.hc-ob-pills{
  gap:5px;
  margin-top:8px;
}

.hc-ob-pill{
  padding:5px 8px;
}

/*
 * Preserve a clear photo area on shorter phones while allowing
 * the slide itself to scroll when additional room is required.
 */
@media (max-height:700px){
  .hc-ob-visual{
    min-height:335px;
  }

  .hc-ob-mini-card{
    padding:11px 12px;
  }

  .hc-ob-card-copy{
    font-size:11px;
  }

  .hc-ob-pills{
    margin-top:7px;
  }
}

/* Expanded onboarding photography — v4 */
.hc-ob-copy{
  margin-bottom:10px;
}

.hc-ob-visual{
  flex:1 0 455px;
  min-height:455px;
  margin:4px 0 8px;
}

/* Shorter phones remain scrollable without crushing the photo. */
@media (max-height:700px){
  .hc-ob-visual{
    flex-basis:360px;
    min-height:360px;
    margin-top:3px;
  }
}

/* Games onboarding photography — v5 */
.hc-ob-games{
  background:linear-gradient(145deg,#071f49,#075fc7 56%,#d7193f);
}

.hc-ob-games .hc-ob-photo{
  object-position:center 37%;
}

