.terms-box{margin-top:24px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.terms-box a{display:inline-block;min-height:48px;padding:13px 20px;border:2px solid #61d3f5;border-radius:6px;color:#fff;background:#06374de8;font:700 16px/1.4 Arial,sans-serif;text-decoration:underline;text-underline-offset:4px;letter-spacing:.5px;cursor:pointer}
.terms-box a:hover,.terms-box a:focus-visible{background:#0878a1;outline:3px solid #fff;outline-offset:3px}
.classic-video #attractScreen .attract-content{padding-bottom:100px}
.home-terms{position:absolute;z-index:4;left:clamp(24px,6vw,100px);bottom:28px;margin:0}
.terms-admin{border-top:1px solid #285367;padding-top:18px;margin-top:24px}
.terms-admin h3{margin:0 0 18px;font-size:22px}
.terms-admin textarea,.terms-admin input{width:100%;margin-top:7px;padding:12px;border:1px solid #285367;border-radius:8px;background:#02090d;color:#fff;font:16px/1.5 Arial,sans-serif}
.terms-admin textarea{display:block;resize:vertical;min-height:180px;max-height:55vh}
.terms-admin textarea:focus-visible{outline:3px solid #61d3f5;outline-offset:2px}
.terms-admin [role=status]{font-size:15px;line-height:1.5;color:#b9d1da}
.terms-admin .plain-button{border:1px solid #177eaa;border-radius:6px;background:#102b37;color:#64d2ff}
#termsDialog{width:min(820px,calc(100vw - 28px));max-height:85dvh;padding:0;border:2px solid #61d3f5;border-radius:10px;background:#fff;color:#082b41;overflow:hidden}
#termsDialog[open]{display:flex;flex-direction:column}
.terms-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:20px 24px;border-bottom:1px solid #cbd9df;background:#f4f8fa}
.terms-dialog-head h2{margin:0;font:700 clamp(22px,4vw,28px)/1.2 Arial,sans-serif}
#closeTerms{width:auto;min-height:44px;flex-shrink:0;padding:10px 14px;border:1px solid #0878a1;border-radius:6px;color:#06374d;background:white;font-weight:700}
#closeTerms:focus-visible,#termsContent:focus-visible{outline:3px solid #0878a1;outline-offset:-3px}
#termsContent{padding:24px;overflow-y:auto;overscroll-behavior:contain;white-space:pre-wrap;overflow-wrap:anywhere;font:16px/1.65 Arial,sans-serif}
@media(max-width:600px){.terms-dialog-head{align-items:flex-start;padding:16px;gap:10px}.terms-dialog-head h2{max-width:60%}#termsContent{padding:18px}.terms-box a{font-size:14px;padding:12px 16px}}
