@media screen and (width<=760px){html{scrollbar-gutter:auto;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom))}.app-shell{--page-gutter:16px;--panel-padding:18px;--section-gap:18px;--control-height:48px;--panel-radius:22px}.app-shell .app-header{margin-top:max(10px, env(safe-area-inset-top));min-height:64px;padding-block:8px}.app-shell .app-main{margin-top:22px}.app-shell .main-nav{left:10px;right:10px;bottom:max(8px, env(safe-area-inset-bottom));min-height:68px}.app-shell .main-nav .nav-link{min-height:54px;font-size:11px;line-height:1.2}.app-shell .main-nav .nav-link svg{width:22px;height:22px}.app-shell .btn{min-height:48px;font-size:15px;line-height:1.35}.app-shell :is(.label,.check-label,.disclosure-copy small){font-size:14px;line-height:1.5}.app-shell .tab{min-height:46px;font-size:14px}.app-shell .badge{font-size:12px;line-height:1.4}.app-shell :is(.toolbar,.page-heading-actions,.page-heading-actions>div){min-width:0;max-width:100%}.app-shell :is(.empty-state,.success-banner,.error-banner){overflow-wrap:anywhere}.app-shell :is(.cycle-card,.shared-card,.template-card,.review-card,.sketch-card){border-radius:22px}.app-shell :is(.cycle-card,.shared-card,.template-card,.review-card,.sketch-card) h2{font-size:21px;line-height:1.35}.app-shell :is(.cycle-card,.shared-card,.template-card,.review-card,.sketch-card) p{font-size:15px;line-height:1.55}.app-shell :is(.practice-pagination,.library-pagination,.sketch-pagination){gap:10px;font-size:14px}.app-shell :is(.preview-toolbar,.shared-toolbar,.review-preview-actions){gap:10px}.modal-content{width:100%;max-width:none;max-height:calc(100dvh - max(12px, env(safe-area-inset-top)));border-bottom:0;border-radius:26px 26px 0 0;top:auto;bottom:0;left:0;transform:none}.modal-header,.modal-body{padding:18px}.modal-title{font-size:22px}.modal-footer{padding:14px 18px calc(14px + env(safe-area-inset-bottom));flex-wrap:wrap}.modal-content:not(:has(.modal-footer)) .modal-body{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.modal-content .btn{min-height:48px;font-size:15px}.modal-content :is(.label,.check-label){font-size:14px}.app-select-content{max-width:calc(100vw - 24px)}.app-select-item{min-height:46px;font-size:16px}.brand-login-page :is(.brand-login-intro,.brand-login-options,.check-label,.brand-login-footnote){font-size:14px;line-height:1.5}}@media screen and (width<=350px){.app-shell{--page-gutter:12px}.app-shell .main-nav .nav-link{font-size:11px}}:root{--app-safe-top:calc(max(env(safe-area-inset-top,0px), var(--mini-safe-top,0px)) + var(--mini-content-top,0px));--app-safe-bottom:calc(max(env(safe-area-inset-bottom,0px), var(--mini-safe-bottom,0px)) + var(--mini-content-bottom,0px));--app-safe-left:calc(max(env(safe-area-inset-left,0px), var(--mini-safe-left,0px)) + var(--mini-content-left,0px));--app-safe-right:calc(max(env(safe-area-inset-right,0px), var(--mini-safe-right,0px)) + var(--mini-content-right,0px))}@media screen and (width<=760px){html{scroll-padding-top:16px;scroll-padding-bottom:calc(100px + var(--app-safe-bottom))}body{background:#fbfcf9}.app-shell{padding-bottom:calc(100px + var(--app-safe-bottom))}.app-shell .app-header{margin-top:max(10px, var(--app-safe-top))}.app-shell .main-nav{bottom:calc(10px + var(--app-safe-bottom));left:calc(12px + var(--app-safe-left));right:calc(12px + var(--app-safe-right));-webkit-backdrop-filter:blur(24px);background:#fffffff5;border-radius:32px;box-shadow:0 8px 36px #183d2920,inset 0 1px #fff}.app-shell .main-nav>.nav-link,.app-shell .main-nav>.more-nav{flex:1}.app-shell .main-nav .nav-link.active{border-radius:24px}.app-shell .page-heading{padding-bottom:20px}.app-shell .card{box-shadow:0 4px 24px #173c2405}.modal-content{max-height:calc(min(100dvh, var(--visual-viewport-height,100dvh), var(--mini-app-height,100dvh)) - var(--app-safe-top) - var(--app-safe-bottom) - 20px);border-radius:30px}.modal-header{min-height:72px}.modal-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.modal-footer{padding-bottom:max(16px, var(--app-safe-bottom))}html[data-keyboard=open] .app-shell .main-nav{display:none}html[data-keyboard=open] .modal-content{top:calc(var(--app-safe-top) + 10px);width:calc(100% - 20px);bottom:auto;left:10px;transform:none}.app-shell input,.app-shell textarea,.modal-content input,.modal-content textarea{font-size:16px}.app-shell :is(button,a,input,summary){-webkit-tap-highlight-color:transparent}.app-shell button{touch-action:manipulation}}html[data-mini-app=telegram]{min-height:var(--mini-app-height,100dvh)}html[data-mini-app=telegram] :is(.brand-login-page,.landing){padding-top:var(--app-safe-top);padding-bottom:var(--app-safe-bottom)}html[data-mini-app=telegram] .app-shell{padding-left:max(0px, calc(var(--app-safe-left) - var(--page-gutter)));padding-right:max(0px, calc(var(--app-safe-right) - var(--page-gutter)))}html[data-reduced-motion=true] *,html[data-reduced-motion=true] :before,html[data-reduced-motion=true] :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
