.terms-modal{border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);padding:0;width:min(760px,calc(100vw - 32px));max-height:min(80vh,900px);overflow:hidden}.terms-modal::backdrop{background:rgba(0,0,0,.55)}.terms-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}.terms-modal-head h2{margin:0;font-size:17px}.terms-modal-x{background:none;border:0;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;min-width:44px;min-height:44px}.terms-modal-x:hover{color:var(--ink)}.terms-modal-body{overflow-y:auto;max-height:calc(min(80vh,900px) - 132px);padding:4px 18px 18px}.terms-modal-body .lede{color:var(--muted);font-size:12.5px;margin:14px 0 4px}.terms-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--line)}.terms-modal-foot .btn{min-height:44px}.terms-modal-open{font-size:13px;color:var(--muted)}.terms-modal .terms-prose p{color:var(--body);margin:0 0 14px;line-height:1.65}.terms-modal .terms-prose h2{font-size:16px;margin:26px 0 8px}.terms-modal .terms-prose h2:first-child{margin-top:0}.terms-modal .terms-prose .muted{color:var(--muted)}@media(max-width:600px){.terms-modal{width:100vw;max-height:92vh;border-radius:14px 14px 0 0}}