.ag18-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 12, .96);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html.ag18-pending .ag18-gate { display: flex; }
html.ag18-pending body { overflow: hidden; }

.ag18-box {
  width: 100%;
  max-width: 440px;
  padding: 32px 28px 26px;
  border-radius: 12px;
  background: #fff;
  color: #222;
  text-align: center;
}

.ag18-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.2;
  color: #111;
}

.ag18-text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: #444;
}

.ag18-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ag18-buttons button {
  flex: 1 1 150px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.ag18-enter { background: #ff4d4d; color: #fff; }
.ag18-enter:hover { background: #e63e3e; }
.ag18-exit { background: #ececec; color: #222; }
.ag18-exit:hover { background: #dedede; }

.ag18-buttons button:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

.ag18-links {
  margin: 18px 0 0;
  font-size: 13px;
  color: #777;
}

.ag18-links a { color: #555; text-decoration: underline; }
