html.v2-chrome-gate-lock,
body.v2-chrome-gate-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.v2-chrome-gate {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  box-sizing: border-box;
  background: transparent;
  color: #102720;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overscroll-behavior: contain;
  overflow: auto;
  z-index: 2147483647;
}

.v2-chrome-gate[open] {
  display: flex;
}

.v2-chrome-gate::backdrop,
.v2-chrome-gate-fallback {
  background: rgba(10, 19, 15, .7);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.v2-chrome-gate-panel {
  width: min(100%, 342px);
  margin: auto;
  padding: 28px 18px 26px;
  box-sizing: border-box;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
  text-align: center;
}

.v2-chrome-gate-icon { display: block; width: 78px; height: 78px; object-fit: contain; margin: 0 auto 18px; }
.v2-chrome-gate h2 { margin: 0 0 10px; color: #102720; font-size: 24px; font-weight: 800; line-height: 1.2; }
.v2-chrome-gate p { color: #626973; font-size: 15px; line-height: 1.5; }
#v2-chrome-gate-description { margin: 0 0 20px; }

.v2-chrome-gate-open {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 12px;
  background: #249e49;
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}

.v2-chrome-gate-open:hover { background: #1d893d; }
.v2-chrome-gate .v2-chrome-gate-help { margin: 20px 0 0; font-size: 13px; }
.v2-chrome-gate-copy {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #17853a;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.v2-chrome-gate :focus-visible { outline: 3px solid #146d32; outline-offset: 3px; }
.v2-chrome-gate .v2-chrome-gate-status { margin: 4px 0 0; font-size: 13px; }
.v2-chrome-gate-url { width: 100%; box-sizing: border-box; margin-top: 12px; padding: 10px; border: 1px solid #a8b7ad; border-radius: 8px; font: inherit; font-size: 16px; }
@media (max-width: 350px) {
  .v2-chrome-gate { padding: 16px; }
  .v2-chrome-gate h2 { font-size: 22px; }
}

html[data-in-app-chrome-page],
html[data-in-app-chrome-page] body {
  margin: 0;
  min-height: 100%;
  background: #f4f7f5;
  color: #102720;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
html[data-in-app-chrome-page] .v2-chrome-gate::backdrop,
html[data-in-app-chrome-page] .v2-chrome-gate-fallback {
  background: #f4f7f5;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-in-app-chrome-page] .v2-chrome-gate-panel { box-shadow: 0 12px 36px rgba(16, 39, 32, .08); }
.v2-entry-status { max-width: 340px; margin: 25vh auto 0; padding: 24px; text-align: center; line-height: 1.5; }
