/* 皇冠站群弹窗样式（品牌资产，跳转目标锁定 tz.hg0018.com） */
.hg-gate-lock,
.hg-gate-lock body { overflow: hidden !important; }

#hg-gate-popup {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(18px, 4.6vw, 64px);
  color: #fdf6e3;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 179, 0, .16) 0, transparent 44%),
    radial-gradient(circle at 50% 22%, #40290a 0, #241505 40%, #120b03 80%),
    #120b03;
  isolation: isolate;
}

#hg-gate-popup[hidden] { display: none !important; }

.hg-gate-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  filter: drop-shadow(0 6px 18px rgba(255, 179, 0, .35));
  animation: hgGateFloat 3.4s ease-in-out infinite;
}

@keyframes hgGateFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hg-gate-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 5.4vw, 58px);
  text-align: center;
  border: 1px solid rgba(255, 196, 92, .68);
  border-radius: 20px;
  background: #1c1206;
  box-shadow: 0 26px 84px rgba(0, 0, 0, .66);
}

.hg-gate-title {
  margin: 0 0 20px;
  color: #ffc65c;
  font-size: clamp(28px, 5.6vw, 48px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: .05em;
}

.hg-gate-copy {
  max-width: 620px;
  margin: 0 auto;
  color: #f5ead2;
  font-size: clamp(15px, 2.2vw, 20px);
  line-height: 1.95;
}

.hg-gate-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(320px, 100%);
  min-height: 54px;
  margin-top: 32px;
  padding: 13px 28px;
  color: #1a1002 !important;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none !important;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd88f, #e09b1e);
  box-shadow: 0 10px 28px rgba(255, 179, 0, .26);
}

.hg-gate-enter:hover { transform: translateY(-1px); }

.hg-gate-close {
  position: fixed;
  top: max(6px, env(safe-area-inset-top));
  right: max(6px, env(safe-area-inset-right));
  z-index: 2;
  width: 20px;
  height: 20px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  font: 10px/20px Arial, sans-serif;
  text-align: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: .08;
  filter: blur(1.6px);
}

.hg-gate-close:focus-visible {
  width: 26px;
  height: 26px;
  outline: 1px solid rgba(255, 255, 255, .7);
  opacity: .75;
  filter: none;
}

@media (max-width: 640px) {
  #hg-gate-popup { padding: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; }
  .hg-gate-panel { max-height: calc(100dvh - 32px); overflow-y: auto; padding: 30px 20px; border-radius: 15px; }
  .hg-gate-enter { width: 100%; min-width: 0; margin-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hg-gate-enter { transform: none !important; }
}
