.modal-full-height{height:calc(100% - max(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top) + 12px,24px))}.modal{--sheet-safe-bottom:max(env(safe-area-inset-bottom,0px), var(--tg-safe-area-inset-bottom,0px));max-height:calc(100% - max(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top) + 12px,24px));overscroll-behavior:contain;flex-direction:column;min-height:320px;display:flex;overflow:auto;box-shadow:inset 0 1px #ffffff29,inset 0 -1px #ffffff0a,inset 0 0 0 .5px #ffffff1a,0 -10px 40px #00000073;background:var(--background-secondary)!important;border-radius:20px 20px 0 0!important}.modal__body{padding:24px 15px calc(25px + var(--sheet-safe-bottom))}.modal__body--full{height:88vh}.modal__title{text-align:center;padding:20px 15px 15px;font-size:16px;font-weight:600}.modal__description{color:var(--text-gray);text-align:center;margin:0 auto}.modal__close{cursor:pointer;color:var(--foreground);background:0 0;border:none;padding:16px;display:flex;position:absolute;top:1px;right:0}.modal__close svg{width:24px;height:24px}.modal__text{color:var(--text-gray);font-size:14px;line-height:1.3}.modal__text--center{text-align:center}.modal__text--large{font-size:20px}.modal__back-button{color:var(--primary);z-index:20;background:0 0;border:none;align-items:center;gap:2px;font-size:16px;font-weight:500;display:flex;position:absolute;top:19px;left:15px}.bar-touchzone{z-index:15;width:100%;height:42px;position:absolute;place-items:start center!important}.bar-touchzone .bar{opacity:.1;background:var(--foreground)!important;height:3px!important}html.has-rounded-display .modal{--sheet-gap:8px;bottom:var(--sheet-gap);width:calc(100% - 2*var(--sheet-gap));max-height:calc(100% - max(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top) + 12px, 24px) - var(--sheet-gap));border-radius:calc(var(--display-radius) - var(--sheet-gap))!important}html.has-rounded-display .modal .modal__body{padding-bottom:max(25px,var(--sheet-safe-bottom) - var(--sheet-gap) + 12px)}html.has-rounded-display .modal-full-height{height:calc(100% - max(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top) + 12px, 24px) - 8px)}
