@supports (-webkit-touch-callout: none){input[type=text],input[type=tel],input[type=email],input[type=number],input[type=search],input[type=password],input[type=url],input[type=date],input[type=time],input[type=datetime-local],input[type=month],input[type=week],select,textarea{font-size:16px!important}img,a{-webkit-touch-callout:none}}.modal-close-button,[role=dialog] button[aria-label*=إغلاق],[role=dialog] button[aria-label*=close]{top:max(1rem,env(safe-area-inset-top,1rem))!important}.modal-footer,.modal-footer-button,[role=dialog] footer,[role=dialog] [class*=footer]{padding-bottom:max(1rem,env(safe-area-inset-bottom,1rem))!important}.modal-content-safe{padding-left:max(1rem,env(safe-area-inset-left,1rem));padding-right:max(1rem,env(safe-area-inset-right,1rem))}.touch-target,button:not([disabled]),a:not([disabled]),[role=button]:not([disabled]),[role=link]:not([disabled]){touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:not([disabled]):active,a:not([disabled]):active,[role=button]:not([disabled]):active,[role=link]:not([disabled]):active,.interactive:active{transform:scale(.98);transition:transform .1s ease-out}button.no-scale:active,a.no-scale:active{transform:none}@media(max-width:640px){[role=dialog],.modal,[class*=Modal],[class*=dialog]{max-width:98vw!important;max-height:96vh!important;margin:1vh 1vw}[role=dialog] header,[role=dialog] [class*=header],.modal-header{padding:.75rem!important}[role=dialog] [class*=content],.modal-content{padding:.75rem!important;max-height:calc(96vh - 180px)!important;overflow-y:auto;-webkit-overflow-scrolling:touch}[role=dialog] footer,[role=dialog] [class*=footer],.modal-footer{padding:.75rem!important}}.modal-scroll,[role=dialog] [class*=scroll],[role=dialog] [class*=content]{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}@media(max-width:640px){.modal-scroll::-webkit-scrollbar,[role=dialog] ::-webkit-scrollbar{width:4px}.modal-scroll::-webkit-scrollbar-track,[role=dialog] ::-webkit-scrollbar-track{background:transparent}.modal-scroll::-webkit-scrollbar-thumb,[role=dialog] ::-webkit-scrollbar-thumb{background:#0003;border-radius:4px}}@media(max-height:500px)and (orientation:landscape){[role=dialog],.modal{max-height:98vh!important}[role=dialog] header,[role=dialog] [class*=header]{padding:.5rem!important}[role=dialog] [class*=icon]{width:2rem!important;height:2rem!important}}@media all and (display-mode:standalone){[role=dialog],.modal{padding-top:env(safe-area-inset-top,0)}}@media(prefers-color-scheme:dark){@supports (-webkit-touch-callout: none){.modal-scroll::-webkit-scrollbar-thumb,[role=dialog] ::-webkit-scrollbar-thumb{background:#ffffff4d}}}@media(hover:none)and (pointer:coarse){button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid currentColor;outline-offset:2px}}.ios-safe-top{padding-top:env(safe-area-inset-top,0)!important}.ios-safe-bottom{padding-bottom:env(safe-area-inset-bottom,0)!important}.ios-safe-left{padding-left:env(safe-area-inset-left,0)!important}.ios-safe-right{padding-right:env(safe-area-inset-right,0)!important}.ios-safe-all{padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0)!important}.no-zoom{font-size:16px!important}.touch-none{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}@supports (padding-top: env(safe-area-inset-top)){[role=dialog]{padding-top:env(safe-area-inset-top,0px)}}@media print{.modal-backdrop,[role=dialog],.modal{display:none!important}}.mobile-nav{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}.mobile-nav,[role=dialog] [class*=content]{overscroll-behavior-y:contain}@media(hover:none)and (pointer:coarse){button:active:not([disabled]),a:active:not([disabled]),[role=button]:active:not([disabled]){opacity:.7;transform:scale(.98);transition:all .1s ease-out}button,a,[role=button],.touch-manipulation{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.touch-target-expand{position:relative}.touch-target-expand:before{content:"";position:absolute;inset:-8px}}.scroll-snap-x{scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}.scroll-snap-y{scroll-snap-type:y proximity;-webkit-overflow-scrolling:touch}.scroll-snap-item{scroll-snap-align:start}.scroll-snap-center{scroll-snap-align:center}.fixed-bottom{position:fixed;bottom:0;left:0;right:0;padding-bottom:env(safe-area-inset-bottom,0);z-index:40}.sticky-bottom{position:sticky;bottom:0;padding-bottom:env(safe-area-inset-bottom,0)}@supports (height: 100dvh){.full-height{height:100dvh}.min-full-height{min-height:100dvh}}@supports not (height: 100dvh){.full-height{height:100vh;height:calc(var(--vh, 1vh) * 100)}.min-full-height{min-height:100vh;min-height:calc(var(--vh, 1vh) * 100)}}.line-clamp-1{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}[dir=rtl] .mobile-nav{text-align:right}[dir=rtl] .swipe-indicator{transform:scaleX(-1)}[dir=rtl] .sticky-header{direction:rtl}.lightbox-overlay{touch-action:none;-webkit-overflow-scrolling:auto;overscroll-behavior:contain}.gallery-image-container{touch-action:pan-y pinch-zoom;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.thumbnail-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}.thumbnail-scroll::-webkit-scrollbar{display:none}.thumbnail-scroll>*{scroll-snap-align:center}@supports (-webkit-touch-callout: none){.gallery-nav-btn{opacity:1!important;background-color:#00000080!important}.gallery-nav-btn,.gallery-dot{touch-action:manipulation;-webkit-tap-highlight-color:transparent}}@media(max-width:640px){.swipe-hint{animation:swipeHint 2s ease-in-out 2}@keyframes swipeHint{0%,to{transform:translate(0);opacity:.7}50%{transform:translate(-10px);opacity:1}}}.ios-scroll-locked{position:fixed!important;width:100%!important;overflow:hidden!important}.ios-scroll-locked body{overflow:hidden;position:fixed;width:100%}
