.tgong-legal-dialog { width:min(64rem,calc(100vw - 1.5rem)); height:calc(100dvh - 2rem); max-height:56rem; padding:0; border:1px solid #ccdce3; border-radius:1rem; color:#173944; background:#fff; box-sizing:border-box; overscroll-behavior:contain; }
.tgong-legal-dialog::backdrop { background:rgb(7 30 40 / .62); }
.tgong-legal-dialog[open] { display:flex; flex-direction:column; }
.tgong-legal-dialog header { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; gap:1rem; padding:1rem; border-bottom:1px solid #d9e6eb; }
.tgong-legal-dialog h2 { margin:0; font-size:1.15rem; overflow-wrap:anywhere; }
.tgong-legal-dialog button { flex-shrink:0; min-height:46px; padding:.65rem 1rem; border:0; border-radius:.75rem; color:#fff; background:#087ce2; font:inherit; font-weight:600; cursor:pointer; }
.tgong-legal-dialog button:focus-visible { outline:3px solid #173944; outline-offset:3px; }
.tgong-legal-dialog iframe { flex:1; width:100%; min-height:0; border:0; background:#fff; }
@media(max-width:480px) { .tgong-legal-dialog { width:calc(100vw - .75rem); height:calc(100dvh - .75rem); max-height:none; } .tgong-legal-dialog header { gap:.5rem; padding:.75rem; } }
