@media (max-width: 991.98px){html{overflow-x: clip}body{overflow-x: clip;max-width: 100%}img,svg,video,canvas,iframe,embed,object{max-width: 100%}img,video{height: auto}p,li,dd,dt,blockquote,figcaption,.card-text,.post-text,.post-content,.post-body,.comment-text,.comment-body,.message-bubble,.message-text,.feed-post,.status-text,.bio,.about-text,.profile-bio{overflow-wrap: break-word;word-break: break-word}a{overflow-wrap: break-word}pre,code,kbd,samp{white-space: pre-wrap;overflow-wrap: anywhere}table{max-width: 100%}.row > [class*="col"],.d-flex > *,.input-group > *{min-width: 0}.table-responsive,.chat-messages,.modal-body,.horizontal-scroll,.stories-tray,.scroll-x,.overflow-auto{-webkit-overflow-scrolling: touch}}@media (max-width: 575.98px){input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea{font-size: 16px}body{-webkit-text-size-adjust: 100%;text-size-adjust: 100%}}@media (max-width: 991.98px){.modal-backdrop{width: 100% !important;max-width: 100% !important;height: 100% !important}.chat-window{width: calc(100vw - 20px) !important;max-width: 320px !important;margin-left: 10px !important;margin-right: 10px !important}#chat-windows-container{right: 10px !important}}@media (max-width: 991.98px){.chatbox-panel-close,#ft-push-close,#mobileSearchClose,.ft-sv-btn-pause,.ft-sv-btn-close{min-width: 44px !important;min-height: 44px !important;display: inline-flex !important;align-items: center !important;justify-content: center !important}.btn-close{width: 44px !important;height: 44px !important;padding: 10px !important;background-size: 16px !important;background-position: center !important;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23000' d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")}body.dark-mode .btn-close{--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23fff' d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")}.dropdown-item{min-height: 44px;padding: 0.7rem 0.9rem !important;font-size: 0.95rem !important;display: flex;align-items: center}.dropdown-item i{margin-right: 0.5rem}.list-group-item{min-height: 48px}.list-group-item-action{padding-top: 12px;padding-bottom: 12px}.pagination{gap: 4px !important;flex-wrap: wrap !important;justify-content: center !important}.pagination .page-link{min-width: 44px !important;min-height: 44px !important;display: inline-flex !important;align-items: center !important;justify-content: center !important;font-size: 0.95rem !important}.nav-pills,.nav-tabs,.mobile-sub-nav{gap: 6px}.nav-pills .nav-link,.nav-tabs .nav-link{min-height: 44px}.mobile-tab-btn{min-height: 44px;display: inline-flex;align-items: center;gap: 6px}}@media (max-width: 575.98px){.ft-iconbar .nav-link{padding: 0.5rem 0.4rem !important;min-width: 44px !important;min-height: 44px !important}.chatbox-panel-search input{font-size: 16px !important}}@media (max-width: 991.98px){.navbar-custom{padding-top: max(0.55rem,env(safe-area-inset-top,0px)) !important}.mobile-sub-nav{top: calc(60px + env(safe-area-inset-top,0px)) !important}html{scroll-padding-top: calc(125px + env(safe-area-inset-top,0px)) !important}#search_result,#search_result_mobile{max-width: calc(100vw - max(12px,env(safe-area-inset-left,0px)) - max(12px,env(safe-area-inset-right,0px))) !important;max-height: 60vh !important;overflow-y: auto !important;z-index: 1045 !important}.modal-dialog{margin-bottom: max(8px,env(safe-area-inset-bottom,0px)) !important}}@media (max-width: 991.98px){body.ft-impersonating:not(.page-landing-non-fixed-navbar):not(.ft-page-messages):not(.ft-page-live){padding-top: 163px !important}}@media (max-width: 991.98px){.dropdown-menu{max-width: calc(100vw - 16px) !important}}@media (max-width: 575.98px){#notificationsDropdown + .dropdown-menu,#friendsDropdown + .dropdown-menu,#messagesDropdown + .dropdown-menu{position: fixed !important;top: 64px !important;left: 10px !important;right: 10px !important;width: auto !important;max-width: none !important;transform: none !important;max-height: calc(100vh - 90px) !important;overflow-y: auto !important;-webkit-overflow-scrolling: touch;border-radius: 14px !important}}@media (max-width: 575.98px){.modal-footer,.card-footer.d-flex{flex-direction: column !important}.modal-footer .btn,.card-footer.d-flex .btn{width: 100% !important;min-height: 48px !important;margin-left: 0 !important;margin-right: 0 !important;margin-bottom: 8px !important}.modal-footer .btn:last-child,.card-footer.d-flex .btn:last-child{margin-bottom: 0 !important}.modal-footer .btn-primary{order: -1 !important}body.ft-page-settings #settingsTabs{display: flex !important;flex-direction: column !important;gap: 8px !important}body.ft-page-settings #settingsTabs .list-group-item-action{min-width: 0 !important;overflow: hidden !important;text-overflow: ellipsis !important;white-space: nowrap !important}.form-label{margin-bottom: 6px;font-weight: 500}}@media (max-width: 360px){#createPostModal .modal-dialog{margin: 4px !important;max-width: calc(100vw - 8px) !important}#createPostModal .modal-header,#createPostModal .modal-body{padding: 0.75rem !important}}@media (max-width: 991.98px){.sticky-top-sidebar,.col-left .sticky-top,.col-right .sticky-top{position: static !important;top: auto !important;height: auto !important;overflow-y: visible !important;padding-right: 0 !important}}@media (max-width: 991.98px){html body.ft-page-live .video-section{width: 100% !important;max-width: 100% !important}body.ft-page-live .chat-section{right: calc(76px + env(safe-area-inset-right,0px)) !important}body.ft-page-live .text-white.small[style*="text-shadow"]{max-width: calc(100vw - 160px) !important;white-space: nowrap !important;overflow: hidden !important;text-overflow: ellipsis !important}}@media (max-width: 575.98px){body.ft-page-live .reactions-bar{right: max(12px,calc(12px + env(safe-area-inset-right,0px))) !important}}@media (max-width: 375px){body.ft-page-live #setup{max-width: calc(100vw - 32px) !important}}@media (max-width: 991.98px){.gallery-grid img,.gallery-thumb,.gallery-grid-item img{aspect-ratio: 1 / 1;object-fit: cover;width: 100% !important;height: auto}}@media (max-width: 991.98px){.pv-comment-time{font-size: 0.85rem !important;line-height: 1.4}.ft-story-verified{font-size: 13px;width: 20px;height: 20px;line-height: 20px}}@media (max-width: 991.98px){a,button,.btn,[role="button"],.nav-link,.dropdown-item,.list-group-item-action{-webkit-tap-highlight-color: rgba(0,224,210,0.18)}.col-mid > .card:last-child,.tab-pane.active > .card:last-child{margin-bottom: max(1rem,env(safe-area-inset-bottom,0px))}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration: 0.01ms !important;animation-iteration-count: 1 !important;transition-duration: 0.01ms !important;scroll-behavior: auto !important}}@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 480px){.modal-dialog{margin-top: 6px !important;margin-bottom: 6px !important}.modal-body{max-height: 78vh;overflow-y: auto;-webkit-overflow-scrolling: touch}}@media (max-width: 575.98px){.profil-cover{height: 160px !important}.profil-avatar{width: 100px !important;height: 100px !important;margin-top: -40px !important;border-width: 3px !important}.profil-name{font-size: 1.3rem !important;margin-top: 12px !important}.row.g-3 .col-4:has(.profil-stat-card){flex: 0 0 50% !important;max-width: 50% !important}.profil-stat-card{padding: 10px 4px !important;min-height: 100px !important}.profil-stat-card .stat-icon{width: 40px !important;height: 40px !important;font-size: 1.1rem !important;margin-bottom: 4px !important}.profil-stat-card .stat-value{font-size: 1rem !important;line-height: 1.2 !important}.profil-stat-card .stat-label{font-size: 0.7rem !important;overflow-wrap: break-word !important}.profil-section-body .row.g-2 > .col-4{flex: 0 0 50% !important;max-width: 50% !important}#galleryModal .row > .col-6{min-width: 0}body.ft-page-profil .dropdown-menu{max-width: calc(100vw - 32px) !important;left: 16px !important}body.ft-page-profil .dropdown-item{font-size: 0.85rem !important;white-space: normal !important}}@media (max-width: 575.98px){#requests-content .card-body > .d-flex.gap-2{flex-direction: column !important}#requests-content .card-body > .d-flex.gap-2 .btn{width: 100% !important;margin-bottom: 6px !important}#requests-content .card-body > .d-flex.gap-2 .btn:last-child{margin-bottom: 0 !important}#sent-content .card-body{flex-direction: column !important;align-items: flex-start !important}#sent-content .card-body .btn{width: 100% !important;margin-top: 8px !important}#sent-content .card-body .d-flex{flex-basis: 100% !important}.card:has(.action-unfriend) .d-flex{gap: 8px !important;flex-wrap: wrap !important}.card:has(.action-unfriend) .flex-grow-1{min-width: 0}.card:has(.action-unfriend) h6{font-size: 0.9rem !important;line-height: 1.3 !important}.card:has(.action-unfriend) button.action-unfriend{flex-shrink: 0;min-width: 44px !important;min-height: 44px !important;display: flex;align-items: center;justify-content: center}#ft-qrcode{min-height: 140px !important}.d-grid.gap-2:has(#shareWA){gap: 0.5rem !important}.d-grid.gap-2:has(#shareWA) .btn{font-size: 0.85rem !important;padding: 0.6rem !important}}@media (max-width: 575.98px){.filter-pills{display: flex !important;gap: 4px !important;margin-bottom: 8px !important;overflow-x: auto !important;-webkit-overflow-scrolling: touch;padding-bottom: 8px !important}.filter-pills a{padding: 5px 10px !important;font-size: 0.75rem !important;white-space: nowrap !important;flex-shrink: 0}.filter-pills::-webkit-scrollbar{height: 3px}.filter-pills::-webkit-scrollbar-thumb{background: rgba(107,115,128,0.3);border-radius: 3px}#notifications .row.g-2 > .col-6,#notifications .row.g-2 > .col-4{flex: 0 0 50% !important;max-width: 50% !important}#notifications .list-group-item > .d-flex{gap: 8px !important;align-items: flex-start !important}#notifications .list-group-item img.rounded-circle{width: 40px !important;height: 40px !important;min-width: 40px !important;flex-shrink: 0}#notifications .list-group-item .flex-grow-1{min-width: 0}#notifications .list-group-item .fw-bold{overflow-wrap: break-word;word-break: break-word}#notifications .list-group-item .text-secondary{overflow-wrap: break-word;word-break: break-word}}@media (max-width: 575.98px){body.ft-page-groups .row.g-2 > [class*="col-md"]{flex: 0 0 100% !important;max-width: 100% !important}body.ft-page-groups .input-group{display: flex !important;flex-direction: column !important;gap: 8px !important}body.ft-page-groups .input-group > .form-control,body.ft-page-groups .input-group > .form-select,body.ft-page-groups .input-group-text{width: 100% !important;border-radius: 0.375rem !important}#createGroupModal .row.g-3 > [class*="col"]{flex: 0 0 100% !important;max-width: 100% !important}}@media (max-width: 360px){body.ft-page-groups .col-6.col-md-4.col-lg-3{flex: 0 0 100% !important;max-width: 100% !important}}@media (max-width: 991.98px){body.ft-page-events .col-md-6{flex: 0 0 100% !important;max-width: 100% !important}body.ft-page-events .ev-grid-card .title{font-size: 1rem !important;line-height: 1.4 !important}body.ft-page-events .ev-grid-card .meta{font-size: 0.8rem !important;line-height: 1.4 !important}body.ft-page-events .ev-grid-card .footer{flex-direction: column !important;align-items: flex-start !important;gap: 6px !important}body.ft-page-events .ev-grid-card .body{padding: 10px !important}}@media (max-width: 575.98px){.col-left .card .input-group input[name="min"],.col-left .card .input-group input[name="max"]{flex: 0 0 100% !important;border-radius: 0.375rem !important}.col-left .card .input-group{display: flex !important;flex-direction: column !important;gap: 8px !important}body.ft-page-marketplace .row.g-2 > .col-3{flex: 0 0 50% !important;max-width: 50% !important}form[action*="user_listing_create"] .row.g-3 > [class*="col-md"]{flex: 0 0 100% !important;max-width: 100% !important}form[action*="user_listing_create"] .input-group{display: flex !important;flex-direction: column !important;gap: 6px !important}form[action*="user_listing_create"] .input-group > *{width: 100% !important;max-width: 100% !important;border-radius: 0.375rem !important}}@media (max-width: 991.98px){article h1,.card-body h1{overflow-wrap: break-word !important;word-break: break-word !important;line-height: 1.2 !important}}@media (max-width: 575.98px){article h2,.card-body h2{font-size: clamp(1.1rem,4vw,1.75rem) !important;line-height: 1.25 !important;overflow-wrap: break-word}article h3,.card-body h3{font-size: clamp(1rem,3.5vw,1.5rem) !important;line-height: 1.25 !important;overflow-wrap: break-word}.card-body.p-5{padding: 1.25rem !important}.card-body.p-4{padding: 1rem !important}.wiki-content{font-size: clamp(0.95rem,2.5vw,1.05rem) !important}.card-title{font-size: clamp(1rem,3vw,1.25rem) !important}.input-group-lg{flex-direction: column !important}.input-group-lg > .form-control,.input-group-lg > .input-group-text,.input-group-lg > .btn{width: 100% !important;border-radius: 0.375rem !important;margin-bottom: 4px !important}.input-group-lg > :last-child{margin-bottom: 0 !important}}@media (max-width: 575.98px){#ft-search-results .text-truncate[style*="max-width"],#ft-search-results .small.text-muted[style*="max-width"]{max-width: 100% !important;white-space: normal !important;overflow: visible !important;text-overflow: clip !important}#ft-search-results .list-group-item .flex-grow-1{min-width: 0 !important}#ft-search-results .list-group-item.d-flex.justify-content-between{flex-direction: column !important;align-items: flex-start !important;gap: 0.75rem !important}#ft-search-results .list-group-item .btn-sm,#ft-search-results .list-group-item .badge{align-self: flex-start !important}form.d-flex.gap-2{gap: 0.75rem !important}form.d-flex.gap-2 .form-control{flex: 1 1 100% !important;min-width: 0 !important}form.d-flex.gap-2 .btn{flex: 0 0 auto !important;min-width: 44px !important;min-height: 44px !important;white-space: nowrap !important}}@media (max-width: 575.98px){.login-wrapper{max-width: calc(100vw - 24px) !important;width: 100% !important}.login-card{padding: 20px 16px !important}.login-hero{padding: 16px 20px !important}.login-hero h1{font-size: 1.3em !important}.login-btn{padding: 10px !important;font-size: 0.95rem !important}.form-panel{padding: 1.5rem !important}.form-check-label{font-size: 0.9rem !important;line-height: 1.45 !important;overflow-wrap: break-word !important}.form-check-label a{overflow-wrap: break-word !important}}@media (max-width: 360px){.login-wrapper{max-width: calc(100vw - 16px) !important}.login-card{padding: 16px 12px !important}}@media (max-width: 991.98px){.toast,.toast-container{max-width: calc(100vw - 24px) !important}.tooltip,.popover{max-width: calc(100vw - 24px) !important}.offcanvas-start,.offcanvas-end{max-width: 86vw !important}a,button,.btn,[role="button"],.nav-link,.page-link,label.btn,summary{touch-action: manipulation}.btn,.nav-link,.page-link,[role="button"]{-webkit-user-select: none;user-select: none}a:focus-visible,button:focus-visible,.btn:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role="button"]:focus-visible{outline: 2px solid #19c4b0 !important;outline-offset: 2px !important}}@media (max-width: 991.98px) and (hover: none){.post-card .post-actions,.comment-item .comment-actions,.ft-hover-actions,.hover-actions{opacity: 1 !important;visibility: visible !important}}@media (max-width: 575.98px){#global-message-container,#notification-toast-container,.notification-toast{left: max(8px,env(safe-area-inset-left,0px)) !important;right: max(8px,env(safe-area-inset-right,0px)) !important;max-width: calc(100vw - 16px) !important;min-width: 0 !important}.notification-toast{flex-direction: column !important}.notification-toast > div:nth-child(2){min-width: 0 !important;width: 100%}.notification-toast > div:nth-child(2) > div:last-child{white-space: normal !important;overflow: visible !important;overflow-wrap: break-word !important;word-break: break-word !important}.sec-table td:last-child,.sec-table th:last-child{white-space: normal !important;text-align: left !important}.sec-table{font-size: 0.9rem !important}.sec-table td{padding: 10px 6px !important}.sec-badge{display: inline-block !important;font-size: 0.7rem !important;padding: 4px 8px !important;max-width: 100%;overflow-wrap: break-word;line-height: 1.3 !important}.ft-app-trust{gap: 6px !important}.ft-app-trust .ft-chip{display: inline-flex !important;align-items: center;gap: 4px;font-size: 0.75rem !important;padding: 6px 8px !important;min-height: 28px !important;white-space: normal !important;overflow-wrap: break-word;line-height: 1.2}.ft-blog-card__badge{font-size: 0.65rem !important;padding: 3px 8px !important;max-width: 90%;overflow-wrap: break-word;display: inline-block}.ft-article__badge{font-size: 0.68rem !important;padding: 4px 10px !important;max-width: 100%;overflow-wrap: break-word;display: inline-flex}}@media (max-width: 991.98px){body.dark-mode .nav-tabs .nav-link{color: #e4e6eb !important}body.dark-mode .nav-tabs .nav-link:hover,body.dark-mode .nav-tabs .nav-link.active{color: #19c4b0 !important}body.dark-mode .filter-pills::-webkit-scrollbar-thumb{background: rgba(255,255,255,0.35) !important}.group-card:active,.group-card:focus-within{transform: translateY(-3px);box-shadow: 0 8px 16px rgba(0,160,198,0.20)}.notif-row:active,.notif-row:focus-within{background-color: #f3f4f6}body.dark-mode .notif-row:active,body.dark-mode .notif-row:focus-within{background-color: #3a3b3c}.notif-kpi-card:active{transform: translateY(-2px);box-shadow: 0 8px 22px rgba(0,0,0,0.08)}.dropdown-item,.list-group-item-action,.badge{-webkit-user-select: none;user-select: none;-webkit-touch-callout: none}}@media (max-width: 991.98px) and (max-height: 500px){.modal-body{max-height: calc(100vh - 140px) !important;overflow-y: auto !important;-webkit-overflow-scrolling: touch}}@media (max-width: 575.98px){.form-control:not(.form-control-sm):not(textarea),.form-select:not(.form-select-sm){min-height: 44px}form .btn:not(.btn-sm):not(.btn-link),.modal .btn:not(.btn-sm):not(.btn-link){min-height: 44px}.form-check-input{width: 1.15em;height: 1.15em;margin-top: 0.2em}textarea.form-control{min-height: 80px}}@media (max-width: 991.98px){.stories-tray,.scroll-x,.horizontal-scroll,.ft-hscroll{scroll-snap-type: x proximity;scroll-padding-left: 12px}.stories-tray > *,.scroll-x > *,.horizontal-scroll > *,.ft-hscroll > *{scroll-snap-align: start}}@media (max-width: 991.98px){.dropdown-menu{max-height: 75vh;overflow-y: auto;-webkit-overflow-scrolling: touch}:target{scroll-margin-top: calc(125px + env(safe-area-inset-top,0px))}.chat-messages,.modal-body,.dropdown-menu,.table-responsive,.offcanvas-body,.comments-list-container{overscroll-behavior: contain}}@media (max-width: 575.98px){#mentionDropdown{min-width: 0 !important;max-width: calc(100vw - 24px) !important}}@media (max-width: 575.98px){table.table:not(.ft-table-scroll){table-layout: fixed;width: 100%}table.table:not(.ft-table-scroll) th,table.table:not(.ft-table-scroll) td{word-break: break-word;overflow-wrap: anywhere}.ft-table-scroll{display: block;max-width: 100%;overflow-x: auto;-webkit-overflow-scrolling: touch}}@media (max-width: 991.98px){.card.shadow-sm,.card.ft-card,.post-card,.composer-trigger-card,.comment-bubble{border-radius: 16px !important;box-shadow: 0 2px 14px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.04) !important}body.dark-mode .card.shadow-sm,body.dark-mode .card.ft-card,body.dark-mode .post-card,body.dark-mode .composer-trigger-card{box-shadow: 0 2px 16px rgba(0,0,0,.45) !important}.post-card,.card.shadow-sm{transition: transform .12s ease,box-shadow .12s ease}.post-card:active,.card.shadow-sm:active{transform: translateY(-1px)}.col-mid > .card,.col-mid > .composer-trigger-card{margin-bottom: 14px !important}.post-text,.post-content,.comment-text{line-height: 1.55}.btn-primary,.ft-btn--gradient{background-image: linear-gradient(135deg,#00e0d2,#19c4b0) !important;border: 0 !important;box-shadow: 0 4px 14px rgba(0,224,210,.28) !important}.btn-primary:active,.ft-btn--gradient:active{box-shadow: 0 2px 8px rgba(0,224,210,.30) !important;filter: brightness(.98)}.form-control:focus,.form-select:focus{border-color: #19c4b0 !important;box-shadow: 0 0 0 .2rem rgba(25,196,176,.18) !important}.navbar-custom{box-shadow: 0 2px 12px rgba(0,0,0,.12)}.post-card img.rounded-circle,.comment-item img.rounded-circle{box-shadow: 0 0 0 2px #fff,0 1px 3px rgba(0,0,0,.15)}body.dark-mode .post-card img.rounded-circle,body.dark-mode .comment-item img.rounded-circle{box-shadow: 0 0 0 2px #242526,0 1px 3px rgba(0,0,0,.4)}}@media (max-width: 991.98px){.btn{transition: transform .1s ease,box-shadow .12s ease,filter .12s ease}.btn:active{transform: scale(.97)}.list-group-item-action{transition: background-color .12s ease}.list-group-item-action:active{background: rgba(0,224,210,.08)}.badge.rounded-pill,.filter-pills a,.ft-chip{border-radius: 999px !important}.modal-content{box-shadow: 0 12px 44px rgba(16,24,40,.20) !important}.modal-backdrop.show{-webkit-backdrop-filter: blur(2px);backdrop-filter: blur(2px)}hr{opacity: .12}.comments-list-container .text-center .fa-4x,.text-center .fa-4x,.text-center .fa-3x,.empty-state i{opacity: .4}.post-media-single img,.post-media-single > div,.card > img.card-img-top{border-radius: 12px}}@media (max-width: 575.98px){.profil-cover{height: 150px !important;border-bottom-left-radius: 18px !important;border-bottom-right-radius: 18px !important;position: relative}.profil-cover::after{content: "";position: absolute;inset: auto 0 0 0;height: 46%;background: linear-gradient(to top,rgba(0,0,0,.28),transparent);border-bottom-left-radius: 18px;border-bottom-right-radius: 18px;pointer-events: none}.profil-cover-btn{z-index: 2}.profil-avatar{border: 3px solid #fff !important;box-shadow: 0 0 0 3px rgba(0,224,210,.35),0 6px 18px rgba(16,24,40,.18) !important}.chat-messages{padding: 12px 10px calc(12px + env(safe-area-inset-bottom)) 10px;scroll-behavior: smooth;overscroll-behavior: contain}.message-bubble{max-width: 82% !important;border-radius: 20px !important;box-shadow: 0 1px 2px rgba(16,24,40,.10) !important;line-height: 1.38}.message-bubble.outgoing,.message-bubble.bg-primary{border-bottom-right-radius: 6px !important}.message-bubble.incoming,.message-bubble.bg-white{border-bottom-left-radius: 6px !important}.Message-Reactions,.message-reactions{gap: 4px;margin-top: 3px}.chat-input{position: sticky;bottom: 0;z-index: 5;padding-bottom: calc(8px + env(safe-area-inset-bottom));background: var(--bs-body-bg,#fff);box-shadow: 0 -2px 12px rgba(16,24,40,.06)}.ft-skeleton{position: relative;overflow: hidden;background: #e9edf2;border-radius: 8px}.ft-skeleton::after{content: "";position: absolute;inset: 0;transform: translateX(-100%);background: linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation: ftShimmer 1.25s infinite}.placeholder{border-radius: 6px}}@keyframes ftShimmer{100%{transform: translateX(100%)}}@media (prefers-reduced-motion: reduce){.ft-skeleton::after{animation: none}}
/* ============================================================================
   PWA MOBILE POLISH — appended block (additive, phone-gated <=991.98px).
   Everything below is new; nothing above was modified.
   ============================================================================ */

/* --- P0: page.php header action column (the "col-md-3 button layout") ---------
   Markup (page.php:250-283):  <div class="page-header ...">
      <div class="row align-items-end">
        <div class="col-md-2"> ...avatar... </div>
        <div class="col-md-7"> ...title... </div>
        <div class="col-md-3 text-end"> [admin: "Beitrag erstellen" + cog]  or  [Like] </div>
   Below md the col becomes full-width but KEEPS text-end -> the buttons jam
   against the right edge under the full-width title. Turn that column into a
   centered, evenly-sized action row with 44px tap targets. Selector specificity
   (0,3,0)+!important beats both Bootstrap's .text-end (0,1,0)!important and
   page.php's own .page-header .col-md-3 (0,2,0), so it wins regardless of order. */
@media (max-width: 767.98px){
  .page-header .col-md-3.text-end{
    text-align: center !important;
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .page-header .col-md-3.text-end .btn{
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* text/primary buttons grow to share the row; the icon-only cog stays square */
  .page-header .col-md-3.text-end .btn-primary,
  .page-header .col-md-3.text-end .btn-outline-primary,
  .page-header .col-md-3.text-end .btn-like-page{
    flex: 1 1 auto;
  }
  .page-header .col-md-3.text-end .btn-outline-secondary{
    flex: 0 0 auto;
    min-width: 44px;
  }
}

/* --- P1: safe-area side gutters for containers (iPhone landscape notch) -------
   Portrait insets are 0, so max(12px, inset) resolves to the Bootstrap default
   12px gutter -> no visual change; padding only grows when the device actually
   reports a left/right inset (notch in landscape / home-indicator side). */
@media (max-width: 991.98px){
  .container,
  .container-fluid{
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
  .offcanvas-body{
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
}

/* --- P1: catch-all 44px minimum tap height for remaining bare buttons/links ---
   Closes stragglers (page/admin action buttons, nav actions, icon links) not
   already covered by the specific close/dropdown/pagination/tab/form rules
   above. min-height only -> never forces width, never causes overflow. */
@media (max-width: 991.98px){
  .btn:not(.btn-sm):not(.btn-link):not(.btn-close),
  .navbar .nav-link,
  a.icon-btn,
  button.icon-btn{
    min-height: 44px;
  }
  .btn-icon,
  .btn-icon-only,
  a.icon-btn,
  button.icon-btn{
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- P3: Shop page polish (body.ft-page-shop) --------------------------------
   .shop-hero / .shop-kpi-card are custom classes (shop.php inline <style>); the
   auto-fit KPI grid already reflows, so this only softens the hero on small
   phones and nudges the KPI radius toward the app's 16px card language. */
@media (max-width: 575.98px){
  body.ft-page-shop .shop-hero{
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  body.ft-page-shop .shop-hero h1{ font-size: 1.35em !important; }
  body.ft-page-shop .shop-kpi-card{ border-radius: 12px !important; }
}

/* --- P3: Wallet page polish (body.ft-page-wallet) ----------------------------
   .wallet-wrap already ships 1rem side / 4rem bottom padding, so use max(1rem,..)
   to ADD notch inset without ever shrinking the existing gutter. Back button is
   a 40px circle -> lift to a 44px tap target. */
@media (max-width: 991.98px){
  body.ft-page-wallet .wallet-wrap{
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
  body.ft-page-wallet .wallet-back-btn{
    width: 44px;
    height: 44px;
  }
}
/* ===== Wave 4702: PWA Native-Politur — Karten-Clipping, Reaktions-Picker (Touch), doppelter FAB, Feel ===== */
@media (max-width:991.98px){
  /* Karten schnitten via overflow:hidden Reaktions-Picker + Options-Dropdown ab. Bilder behalten ihre
     Rundung ueber eigene .rounded/.overflow-hidden Wrapper, die Karte braucht das overflow nicht mehr. */
  .post-card,.card.post,.feed-card,.feed-group-card,.card-custom{overflow:visible !important;}
  /* Reaktions-Picker war left:50% zentriert -> halb ueber die (jetzt sichtbare) Kartenkante. Links verankern. */
  .ft-reaction-picker{left:0 !important;right:auto !important;transform:translateY(8px) scale(.7) !important;transform-origin:bottom left !important;}
  .ft-reaction-wrapper.is-open .ft-reaction-picker,
  .ft-reaction-wrapper:focus-within .ft-reaction-picker{transform:translateY(-8px) scale(1) !important;}
  /* Doppelter Nach-oben-FAB: der globale #ftToTop (footer) genuegt, den home-eigenen ausblenden. */
  #ftBackToTop{display:none !important;}
  /* Nach-oben-FAB ueber dem iPhone-Home-Indicator (Safe-Area). */
  #ftToTop{bottom:calc(74px + env(safe-area-inset-bottom,0px)) !important;}
  /* Springiges Press-Feedback auf den Emoji-Reaktionen + native Rueckmeldung auf Aktions-Buttons. */
  .ft-reaction-emoji{transition:transform .1s ease;}
  .ft-reaction-emoji:active{transform:scale(1.25);}
  .action-btn:active{transform:scale(.94);opacity:.7;}
  /* Ganzseitiges Gummiband / kaputtes Pull-to-Refresh im Standalone-PWA stoppen. */
  html{overscroll-behavior-y:none;}
  /* Momentum + contained scroll fuer die langen in-Karte-Scrollbereiche. */
  #hpOnlineList,#mentionDropdown{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}
}
@media (max-width:991.98px) and (hover:none){
  /* KERN-FIX „haengender Button": auf Touch gibt es kein :hover — ein Tap fokussierte den Like-Button,
     :focus-within + iOS-Sticky-Hover hielten die Emoji-Reihe offen. Auf Touch wird der Picker jetzt
     ausschliesslich per .is-open (JS: langer Druck) gesteuert; Hover/Focus-Anzeige hier deaktiviert. */
  .ft-reaction-wrapper:hover .ft-reaction-picker,
  .ft-reaction-wrapper:focus-within .ft-reaction-picker{opacity:0 !important;visibility:hidden !important;}
  .ft-reaction-wrapper.is-open .ft-reaction-picker{opacity:1 !important;visibility:visible !important;}
  /* Tap-Highlight transparent (der :active-Scale liefert das Feedback) — wirkt nativer. */
  a,button,.btn,[role="button"],.nav-link,.dropdown-item,.list-group-item-action{-webkit-tap-highlight-color:transparent !important;}
  /* Desktop-Hover-Transforms nicht auf Touch kleben lassen. */
  .composer-trigger-card:hover,.ft-bottom-item:hover,#ftGifGrid img:hover,.group-card:hover{transform:none !important;box-shadow:none;}
}
