/* Modal de aceite dos Termos (landing e login) */
.terms-modal{width:min(720px,calc(100vw - 24px));max-height:min(86vh,820px);padding:0;border:1px solid #eed09a40;border-radius:22px;background:#131218;color:#f3eee4;box-shadow:0 40px 120px #000c;overflow:hidden}
.terms-modal[open]{display:flex;flex-direction:column;animation:tmIn .35s cubic-bezier(.2,.8,.2,1)}
.terms-modal::backdrop{background:#07060acc;backdrop-filter:blur(6px)}
@keyframes tmIn{from{opacity:0;transform:translateY(24px) scale(.97)}}
.tm-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px 10px}
.tm-head h2{margin:0;font-family:'Chakra Petch','Segoe UI',sans-serif;font-size:26px;font-weight:700}
.tm-close{width:40px;height:40px;border:1px solid #ffffff1f;border-radius:50%;background:transparent;color:#d8d3de;font-size:22px;line-height:1;cursor:pointer}
.tm-close:hover{background:#ffffff12}
.tm-tabs{display:flex;gap:6px;padding:6px 26px 14px;border-bottom:1px solid #ffffff17}
.tm-tabs button{padding:8px 14px;border:1px solid #ffffff1f;border-radius:20px;background:transparent;color:#a29eac;font-size:14px;cursor:pointer}
.tm-tabs button[aria-selected=true]{border-color:#eed09a66;background:#eed09a1a;color:#f3eee4;font-weight:600}
.tm-body{flex:1;min-height:0;overflow-y:auto;padding:8px 26px 24px;color:#c9c4cf;font-size:15px;line-height:1.7;overscroll-behavior:contain}
.tm-body h1{display:none}
.tm-body h2{margin:26px 0 6px;color:#f3eee4;font-family:'Chakra Petch','Segoe UI',sans-serif;font-size:19px}
.tm-body .updated{padding:12px 14px;border-left:3px solid #f16b9f;border-radius:6px;background:#ffffff08}
.tm-body footer{margin-top:28px;padding-top:16px;border-top:1px solid #ffffff17;font-size:14px}
.tm-body a{color:#eed09a}
.tm-body strong{color:#f3eee4}
.tm-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 26px 20px;border-top:1px solid #ffffff17;background:#0f0e14}
.tm-note{margin:0;color:#a29eac;font-size:13px}
.tm-actions{display:flex;gap:10px;margin-left:auto}
.tm-cancel{padding:12px 18px;border:1px solid #ffffff1f;border-radius:12px;background:transparent;color:#d8d3de;cursor:pointer}
.tm-accept{padding:12px 22px;border:0;border-radius:12px;background:#eed09a;color:#1d1406;font-family:'Chakra Petch','Segoe UI',sans-serif;font-size:16px;font-weight:700;cursor:pointer;box-shadow:inset 0 -3px 0 #c9a45d}
.tm-accept:disabled{opacity:.4;cursor:not-allowed}
.tm-close:focus-visible,.tm-tabs button:focus-visible,.tm-cancel:focus-visible,.tm-accept:focus-visible,.tm-body:focus-visible{outline:2px solid #eed09a;outline-offset:2px}
@media(max-width:600px){.terms-modal{width:100vw;max-width:100vw;max-height:92vh;margin:auto 0 0;border-radius:22px 22px 0 0}.tm-head,.tm-tabs,.tm-body,.tm-foot{padding-inline:18px}.tm-actions{width:100%}.tm-actions button{flex:1}}
@media(prefers-reduced-motion:reduce){.terms-modal[open]{animation:none}}
