.beta-warning-dialog {
  width: min(680px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: visible;
  background: transparent;
  color: #f4f8fd;
}

.beta-warning-dialog::backdrop {
  background: rgba(1, 5, 12, .82);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  backdrop-filter: blur(10px) saturate(115%);
  animation: beta-warning-backdrop-in .24s ease-out both;
}

.beta-warning-glass {
  position: relative;
  isolation: isolate;
  max-height: calc(100dvh - 24px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(111, 198, 255, .32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(22, 143, 229, .2), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(255, 107, 44, .13), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 28%),
    linear-gradient(150deg, rgba(11, 29, 48, .88), rgba(5, 14, 27, .8));
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px rgba(14, 126, 206, .08);
  animation: beta-warning-panel-in .32s cubic-bezier(.16, 1, .3, 1) both;
}

.beta-warning-glass::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px 1px auto;
  height: 38%;
  border-radius: 27px 27px 50% 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), transparent);
  pointer-events: none;
}

.beta-warning-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(26px, 5vw, 44px);
  text-align: center;
}

.beta-warning-mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(101, 199, 255, .24);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(66, 174, 239, .14), rgba(4, 13, 25, .16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 42px rgba(4, 127, 207, .16);
}

.beta-warning-mark svg {
  width: 72px;
  height: 72px;
  display: block;
}

.beta-warning-kicker {
  color: #69c8ff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}

.beta-warning-content h2 {
  max-width: 540px;
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.beta-warning-content > p {
  max-width: 560px;
  margin: 0;
  color: #b7c7da;
  font-size: 16px;
  line-height: 1.6;
}

.beta-warning-points {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 26px 0;
}

.beta-warning-points span {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid rgba(112, 156, 196, .18);
  border-radius: 14px;
  background: rgba(6, 16, 29, .58);
  color: #dbe8f5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.beta-warning-points svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #62c6ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.beta-warning-button {
  width: min(390px, 100%);
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #65c7ff;
  border-radius: 14px;
  background: linear-gradient(135deg, #0878d1, #24a6ff);
  color: #fff;
  font: 850 14px/1.3 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(17, 145, 226, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.beta-warning-button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 17px 38px rgba(17, 145, 226, .34), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.beta-warning-button:focus-visible {
  outline: none;
  box-shadow: 0 14px 34px rgba(17, 145, 226, .28), inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 3px rgba(101, 199, 255, .24);
}

.beta-warning-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes beta-warning-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes beta-warning-panel-in {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
  .beta-warning-dialog {
    width: min(100% - 16px, 680px);
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
  }

  .beta-warning-glass {
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
  }

  .beta-warning-content {
    padding: 20px 16px 18px;
  }

  .beta-warning-mark {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    border-radius: 20px;
  }

  .beta-warning-mark svg {
    width: 54px;
    height: 54px;
  }

  .beta-warning-kicker {
    font-size: 11px;
  }

  .beta-warning-content h2 {
    margin: 8px 0 12px;
    font-size: clamp(24px, 8vw, 28px);
  }

  .beta-warning-content > p {
    font-size: 15px;
    line-height: 1.5;
  }

  .beta-warning-points {
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 16px 0;
  }

  .beta-warning-points span {
    min-height: 48px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 12px;
    text-align: left;
  }

  .beta-warning-points svg {
    width: 22px;
    height: 22px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .beta-warning-dialog::backdrop,
  .beta-warning-glass {
    animation: none;
  }

  .beta-warning-button {
    transition: none;
  }
}
