/* Terms agreement (Components/TermsGate.razor, AuthGate checkbox, hub footer links) */
.terms-overlay {
  position: fixed; inset: 0; z-index: 5000; background: rgba(6,4,8,.92);
  display: flex; align-items: center; justify-content: center; padding: 12px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.terms-modal {
  width: 100%; max-width: 560px; height: 100%; max-height: 900px; display: flex; flex-direction: column; gap: 10px;
  background: #15100d; border: 1px solid #c9a22788; border-radius: 16px; padding: 14px;
}
.terms-head { text-align: center; }
.terms-head .auth-logo { font-size: 30px; }
.terms-head .auth-title { margin: 2px 0; }
.terms-head .auth-subtitle { margin: 0; }
.terms-frame { flex: 1; min-height: 220px; height: auto; width: 100%; border: 1px solid #3a2a14; border-radius: 10px; background: #0e0c10; }
.auth-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: #d9cdb5; text-align: left; margin: 4px 0; cursor: pointer; user-select: none; }
.auth-terms input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: #ffd23c; }
.auth-terms a { color: #ffd23c; }
.terms-modal .auth-btn { width: 100%; }
.terms-modal .auth-btn:disabled { opacity: 1; background: #3a3030; color: #b8a8a8; box-shadow: none; cursor: not-allowed; }
.terms-scroll { font-size: 11px; color: #a89060; text-align: center; margin-top: -6px; }
.terms-logout { background: none; border: none; color: #a89060; font-size: 12px; padding: 4px; cursor: pointer; text-decoration: underline; }
.hub-legal { font-size: 11px; opacity: .85; }
.hub-legal a { color: inherit; }
