/* Security & trust (trust.js) + Terms / Privacy (legal.js) — full-screen pages, same dark look as the login card */
html.tr-open, html.tr-open body { overflow: hidden !important; }
.tr-page { position: fixed; inset: 0; z-index: 2147483000; background: #0b0e11; color: #eaecef; overflow-y: auto; -webkit-overflow-scrolling: touch;
  font-family: var(--pb-font, inherit); animation: trIn .25s ease; }
.tr-page[hidden] { display: none !important; }
@keyframes trIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tr-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px; background: rgba(11,14,17,.92); backdrop-filter: blur(10px); border-bottom: 1px solid #1e2329; }
.tr-head b { font-size: 1.02rem; }
.tr-head span { width: 36px; }
.tr-back { width: 36px; height: 36px; border-radius: 10px; border: 0; background: #1e2329; color: #eaecef; cursor: pointer; }
[dir="ltr"] .tr-back i { transform: rotate(180deg); }
.tr-body { max-width: 640px; margin: 0 auto; padding: 18px 16px calc(32px + env(safe-area-inset-bottom, 0px)); }
.tr-hero { text-align: center; padding: 8px 6px 18px; }
.tr-shield { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; font-size: 2rem; color: #0ecb81;
  background: rgba(14,203,129,.08); border: 1px solid rgba(14,203,129,.3); }
.tr-hero p { color: #848e9c; font-size: .9rem; line-height: 1.8; margin: 0; }
.tr-group { background: #181a20; border: 1px solid #2b3139; border-radius: 16px; padding: 6px 0; margin-bottom: 14px; }
.tr-gt { padding: 10px 16px 6px; color: #f0b90b; font-size: .78rem; font-weight: 700; }
.tr-item { display: flex; gap: 12px; padding: 12px 16px; border-top: 1px solid #1e2329; }
.tr-gt + .tr-item { border-top: 0; }
.tr-item > i { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #1e2329; color: #0ecb81; font-size: .9rem; }
.tr-item b { display: block; font-size: .9rem; margin-bottom: 3px; }
.tr-item p { margin: 0; color: #848e9c; font-size: .8rem; line-height: 1.7; }
.tr-risk { border-color: rgba(246,70,93,.35); background: rgba(246,70,93,.05); }
.tr-risk .tr-gt { color: #f6465d; }
.tr-risk ul { margin: 0; padding: 4px 16px 10px; padding-inline-start: 34px; display: grid; gap: 8px; }
.tr-risk li { color: #d7dbe0; font-size: .82rem; line-height: 1.7; }
.tr-support { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 0; background: transparent; color: #eaecef; cursor: pointer; font-family: inherit; text-align: start; }
.tr-support > i:first-child { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(240,185,11,.1); color: #f0b90b; }
.tr-support div { flex: 1; display: grid; }
.tr-support b { font-size: .9rem; } .tr-support small { color: #848e9c; font-size: .76rem; }
.tr-support > i:last-child { color: #5e6673; font-size: .75rem; }
[dir="ltr"] .tr-support > i:last-child { transform: rotate(180deg); }
/* legal text (Terms / Privacy) */
.lg-meta { color: #5e6673; font-size: .74rem; text-align: center; margin: -6px 0 16px; }
.lg-sec { padding: 4px 16px 14px; border-top: 1px solid #1e2329; }
.lg-sec:first-child { border-top: 0; }
.lg-sec h3 { font-size: .9rem; margin: 12px 0 8px; color: #eaecef; }
.lg-sec p, .lg-sec li { color: #b7bdc6; font-size: .82rem; line-height: 1.85; margin: 0 0 6px; }
.lg-sec ul { margin: 0; padding-inline-start: 18px; }
/* links under the login card */
.tr-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; margin: 14px 0 0; }
.tr-links button { border: 0; background: transparent; color: #848e9c; font-size: .76rem; cursor: pointer; font-family: inherit; padding: 4px 6px; border-radius: 6px; }
.tr-links button:hover { color: #f0b90b; }
.tr-links button i { margin-inline-end: 4px; }
.tr-links .sep { color: #2b3139; align-self: center; }
.bfa-agree a, .bfa-agree .lg-a { color: #f0b90b; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
