/* Safari Gate v1.0.3 — original MapleCrush 2.1 fallback UI structure,
   with CoinSentra dark palette and TRANSPARENT website backdrop. */
#sg-safari-gate[hidden], #sg-safari-open[hidden] { display: none !important; }
#sg-safari-gate, #sg-safari-gate * { box-sizing: border-box; }
#sg-safari-gate {
  --sg-accent: #35d4c7;
  --sg-accent-secondary: #73a4ff;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 16px 13px calc(16px + env(safe-area-inset-bottom, 0px));
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
body.sg-safari-gated { overflow: hidden; }
#sg-safari-gate .sg-safari-gate-card {
  width: min(100%, 370px);
  margin: auto;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 21px 18px 18px;
  border: 1px solid rgba(95, 193, 205, .30);
  border-radius: 22px;
  background: rgba(12, 25, 43, .96);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .26);
  text-align: center;
  color: #f6fbff;
}
#sg-safari-gate .sg-safari-gate-brand {
  display: flex; align-items: center; justify-content: center;
  gap: 9px; margin-bottom: 13px;
  color: #f5faff; font-size: 15px; font-weight: 800;
}
#sg-safari-gate .sg-safari-gate-icon {
  display: grid; place-items: center; width: 47px; height: 47px;
  margin: 0 auto 14px; border-radius: 14px;
  color: #061923; font-size: 26px; font-weight: 900;
  background: linear-gradient(140deg, var(--sg-accent), var(--sg-accent-secondary));
}
#sg-safari-gate .sg-safari-gate-card h2 {
  margin: 0 0 10px; color: #fff; font-size: 23px;
  font-weight: 800; line-height: 1.25;
}
#sg-safari-gate .sg-safari-gate-card > p:not(.sg-safari-gate-status) {
  color: #b7c6d8; font-size: 13px; line-height: 1.65;
  margin: 0 auto 15px;
}
#sg-safari-gate .sg-safari-gate-badge {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(68, 219, 206, .22);
  background: rgba(53, 212, 199, .09);
  color: #7ae5db; font-size: 11px; font-weight: 800;
}
#sg-safari-gate .sg-safari-gate-primary,
#sg-safari-gate .sg-safari-gate-secondary {
  display: block; width: 100%; min-height: 50px;
  padding: 13px 14px; margin: 0 0 10px; border-radius: 12px;
  font-family: inherit; font-size: 14px; font-weight: 800;
  text-decoration: none; line-height: 1.3; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#sg-safari-gate .sg-safari-gate-primary {
  background: linear-gradient(95deg, var(--sg-accent), var(--sg-accent-secondary));
  color: #09202b; border: 0;
}
#sg-safari-gate .sg-safari-gate-secondary {
  color: #e3ecfa; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(141, 172, 207, .25);
}
#sg-safari-gate .sg-safari-gate-status {
  min-height: 20px; margin: 10px 0 0;
  color: #9bc5d5; font-size: 11px; line-height: 1.55;
}
#sg-safari-gate button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-height: 640px) {
  #sg-safari-gate .sg-safari-gate-card { padding: 13px 14px; }
  #sg-safari-gate .sg-safari-gate-brand { margin-bottom: 8px; }
  #sg-safari-gate .sg-safari-gate-icon { width: 37px; height: 37px; margin-bottom: 9px; }
  #sg-safari-gate .sg-safari-gate-primary,
  #sg-safari-gate .sg-safari-gate-secondary { min-height: 42px; padding: 10px; }
}
