/* GAINVO v0.9.98 — compact mobile install gateway
   ------------------------------------------------------------
   The gateway has one job: help a phone user install/open GAINVO.
   Keep it short, app-like and focused. Do not add marketing sections,
   duplicated branding, long feature lists or desktop copy here.
*/
html.gainvo-install-gated,
html.gainvo-install-gated body{
  min-height:100%;
  background:#f4f7fa!important;
  overflow:auto!important;
  overscroll-behavior:none;
}
html[data-theme="dark"].gainvo-install-gated,
html[data-theme="dark"].gainvo-install-gated body{
  background:#071119!important;
}
html.gainvo-install-gated #gainvoAppShell,
html.gainvo-install-gated #gainvoLaunch,
html.gainvo-install-gated #pullRefresh,
html.gainvo-install-gated #refreshSuccess{
  display:none!important;
}

.gainvo-install-gate{
  display:none;
  min-height:100dvh;
  padding:
    calc(20px + env(safe-area-inset-top))
    16px
    calc(20px + env(safe-area-inset-bottom));
  color:#0d2745;
  background:
    radial-gradient(circle at 100% 0%,rgba(20,184,166,.11),transparent 34%),
    linear-gradient(180deg,#f8fbfd 0%,#eef4f7 100%);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
html.gainvo-install-gated .gainvo-install-gate{display:grid;place-items:start center}
html[data-theme="dark"] .gainvo-install-gate{
  color:#eef7fb;
  background:
    radial-gradient(circle at 100% 0%,rgba(20,184,166,.14),transparent 34%),
    linear-gradient(180deg,#071119 0%,#0b1720 100%);
}

.gig-shell{
  width:min(100%,420px);
  margin:0 auto;
  padding-top:6px;
}

.gig-card{
  overflow:hidden;
  background:#fff;
  border:1px solid #dce7ee;
  border-radius:25px;
  box-shadow:0 18px 52px rgba(26,52,73,.11);
}
html[data-theme="dark"] .gig-card{
  background:#0f1d27;
  border-color:#243846;
  box-shadow:0 18px 52px rgba(0,0,0,.28);
}

.gig-hero{
  padding:23px 21px 21px;
  color:#fff;
  background:linear-gradient(135deg,#0c385f 0%,#0b7f76 100%);
}
.gig-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:9px;
  color:#b9fff3;
  font-size:10px;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.gig-kicker i{
  width:7px;height:7px;border-radius:50%;background:#21d4b8
}
.gig-hero h1{
  margin:0;
  max-width:340px;
  color:#fff;
  font-size:29px;
  line-height:1.06;
  letter-spacing:-.035em;
}
.gig-hero p{
  margin:10px 0 0;
  max-width:345px;
  color:#d9eef2;
  font-size:13px;
  line-height:1.48;
}

.gig-store-card{
  margin:15px 15px 11px;
  padding:13px;
  border:1px solid #e0e8ee;
  border-radius:17px;
  background:#fbfdfe;
}
html[data-theme="dark"] .gig-store-card{
  background:#111f2a;
  border-color:#293c49;
}
.gig-app-row{
  display:grid;
  grid-template-columns:56px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
}
.gig-app-icon{
  width:56px;height:56px;
  overflow:hidden;
  border-radius:15px;
  background:#eef5f8;
  border:1px solid #dde8ee;
  box-shadow:0 4px 12px rgba(8,47,99,.11);
}
.gig-app-icon img{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:inherit!important;
}
.gig-app-copy{min-width:0}
.gig-app-copy strong{
  display:block;
  font-size:16px;
  line-height:1.1;
}
.gig-app-copy span{
  display:block;
  margin-top:4px;
  color:#6a8192;
  font-size:10.5px;
  line-height:1.25;
}
html[data-theme="dark"] .gig-app-copy span{color:#9bb0bd}

.gig-install-btn{
  min-width:86px;
  height:42px;
  padding:0 14px;
  border:0;
  border-radius:12px;
  background:#12aa98;
  color:#fff;
  font:800 12px/1 system-ui;
  cursor:pointer;
  box-shadow:0 7px 18px rgba(18,170,152,.18);
}
.gig-install-btn:disabled{opacity:.58;cursor:default}

.gig-compact-note{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 18px 14px;
  color:#5d7486;
  font-size:10.5px;
}
.gig-compact-note>span{
  display:grid;
  place-items:center;
  width:23px;height:23px;
  flex:0 0 23px;
  border-radius:50%;
  color:#08796e;
  background:#dcf8f2;
  font-weight:900;
}
.gig-compact-note p{margin:0}
html[data-theme="dark"] .gig-compact-note{color:#9ab0be}

.gig-instructions{
  margin:0 15px 13px;
  padding:13px;
  border:1px solid #ccece6;
  border-radius:15px;
  background:#eef8f6;
}
html[data-theme="dark"] .gig-instructions{
  background:#0e2927;
  border-color:#20504a;
}
.gig-instructions-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:7px;
  font-size:12px;
  font-weight:850;
}
.gig-instructions-close{
  width:30px;height:30px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:inherit;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.gig-step{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin:7px 0;
  font-size:10.5px;
  line-height:1.4;
}
.gig-step em{
  display:grid;
  place-items:center;
  flex:0 0 22px;
  width:22px;height:22px;
  border-radius:50%;
  background:#0e8277;
  color:#fff;
  font-style:normal;
  font-weight:800;
  font-size:9px;
}

.gig-browser-help{
  margin:0 15px 13px;
  padding:11px 12px;
  border:1px solid #f1dfad;
  border-radius:13px;
  background:#fff8e8;
  color:#70530e;
  font-size:10.5px;
  line-height:1.45;
}
html[data-theme="dark"] .gig-browser-help{
  background:#2a2417;border-color:#55492c;color:#efd58a
}
.gig-installed{
  margin:0 15px 13px;
  padding:11px 12px;
  border-radius:13px;
  background:#e9f8f3;
  color:#0a6e62;
  font-size:10.5px;
  font-weight:700;
  line-height:1.45;
}
html[data-theme="dark"] .gig-installed{background:#10302c;color:#8ee6da}

.gig-foot{
  padding:2px 18px 17px;
  text-align:center;
  color:#7a8c9a;
  font-size:10px;
  line-height:1.4;
}
html[data-theme="dark"] .gig-foot{color:#91a5b3}
.gig-open-note{font-weight:750;color:#416178}
html[data-theme="dark"] .gig-open-note{color:#afc3cf}

@media(max-width:360px){
  .gainvo-install-gate{padding-inline:11px}
  .gig-hero{padding:20px 18px 18px}
  .gig-hero h1{font-size:26px}
  .gig-app-row{grid-template-columns:52px minmax(0,1fr) auto;gap:9px}
  .gig-app-icon{width:52px;height:52px;border-radius:14px}
  .gig-install-btn{min-width:78px;padding-inline:11px}
  .gig-app-copy span{font-size:9.8px}
}
