.risk-locked { overflow: hidden; }

.risk-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #0b1711d9;
  backdrop-filter: blur(7px);
}

.risk-gate section {
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 27px;
  border-radius: 22px;
  background: #fffdf7;
  box-shadow: 0 24px 80px #0006;
}

.risk-gate em { color: #b55b2c; }
.risk-gate h1 { margin: 7px 0 12px; font-size: 31px; }
.risk-gate p, .risk-gate li { color: #59635d; line-height: 1.65; }
.risk-gate ul { padding-left: 22px; }
.risk-gate label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0;
  font-weight: 700;
}
.risk-gate label input { width: 20px; height: 20px; }
.risk-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.risk-actions button { padding: 13px; border-radius: 11px; font-weight: 700; cursor: pointer; }
#risk-leave { border: 1px solid #ccd4cf; background: #fff; color: #526159; }
#risk-agree { border: 0; background: #163b2d; color: #fff; }
#risk-agree:disabled { opacity: .38; cursor: not-allowed; }

@media (max-width: 560px) {
  .risk-gate section { padding: 21px 18px; }
  .risk-gate h1 { font-size: 27px; }
  .risk-actions { grid-template-columns: 1fr; }
}
