/* Visual rules scoped exclusively to the legal overlay. */
.teory-terms{
 --safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);
 --available-height:calc(100dvh - var(--safe-top) - var(--safe-bottom));
 position:fixed;inset:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);margin:auto;
 width:min(620px,calc(100% - var(--safe-left) - var(--safe-right) - 32px));max-width:calc(100% - var(--safe-left) - var(--safe-right) - 32px);
 height:min(700px,calc(var(--available-height) * .73));max-height:calc(var(--available-height) - 24px);
 padding:0;border:1px solid #20201e;border-radius:18px;background:rgba(5,5,5,.70);color:var(--muted);font-family:inherit;overflow:hidden;box-shadow:0 24px 90px #0008;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)
}
.teory-terms::backdrop{background:rgba(0,0,0,.33)}
.teory-terms-scroll{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:56px 40px 40px;font-size:15px;line-height:1.65;overflow-wrap:break-word;scrollbar-color:#35332f transparent}
.teory-terms h2{font-size:24px;line-height:1.2;letter-spacing:-.035em;font-weight:500;margin:0 40px 24px 0;color:inherit}
.teory-terms h3{font-size:17px;line-height:1.4;letter-spacing:-.02em;font-weight:500;margin:30px 0 12px;color:inherit}
.teory-terms p{margin:0 0 16px}
.teory-terms ul{padding-left:22px;margin:0 0 16px}
.teory-terms-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(5,5,5,.92);color:var(--muted);font:inherit;font-size:28px;line-height:1;cursor:pointer;z-index:1}
.teory-terms-close:focus-visible,.teory-terms-scroll:focus-visible{outline:1px solid var(--muted);outline-offset:-3px}
@media(min-width:701px) and (max-width:1050px){
 .teory-terms{width:min(620px,calc(100% - var(--safe-left) - var(--safe-right) - 32px));height:min(760px,calc(var(--available-height) * .77))}
 .teory-terms-scroll{padding:56px 32px 32px}
 .teory-terms h2{font-size:24px}
}
@media(min-width:701px) and (max-width:1050px) and (orientation:landscape){
 .teory-terms{width:min(650px,calc(100% - var(--safe-left) - var(--safe-right) - 32px));height:min(700px,calc(var(--available-height) * .79))}
}
@media(max-width:700px){
 .teory-terms{width:calc(100% - var(--safe-left) - var(--safe-right) - 32px);height:min(700px,calc(var(--available-height) * .84));border-radius:14px}
 .teory-terms-scroll{padding:56px 22px 28px}
 .teory-terms h2{font-size:22px}
}
@media(max-height:500px) and (orientation:landscape){
 .teory-terms{width:calc(100% - var(--safe-left) - var(--safe-right) - 32px);height:min(460px,calc(var(--available-height) - 24px));border-radius:14px}
 .teory-terms-scroll{padding:48px 24px 20px}
 .teory-terms h2{font-size:22px}
}
