.footer-terms {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #151c20;
  color: inherit;
}
.footer-terms::backdrop { background: rgb(0 0 0 / .68); }
.footer-terms > header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: #151c20;
}
.footer-terms h2 { margin: 0; font-size: 1.1rem; }
.footer-terms-body { padding: 20px 22px; }
.footer-terms .risk-note { margin: 0 0 10px; font-size: .94rem; }
.footer-terms details { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.footer-terms summary { cursor: pointer; color: var(--mint); }
.footer-terms h3 { font-size: .95rem; margin: 16px 0 6px; }
.footer-terms details p { color: var(--muted); font-size: .9rem; line-height: 1.65; }
