/* Dating24 v27 frontend/admin polish and safety hardening */
:root{--d24-pink:#e91e63;--d24-dark:#17131f;--d24-muted:#6f7280;--d24-border:#eee8f2;--d24-shadow:0 14px 34px rgba(15,23,42,.08)}

/* Scroller cards: small clean boost/recent/new member boxes, no big labels over photos */
.d24-boost-strip,.d24-member-strip,.d24-new-members-strip{margin:20px 0 26px!important;padding:16px!important;border-radius:28px!important;background:linear-gradient(180deg,#fff,#fff8fb)!important;border:1px solid #f5d9e6!important;box-shadow:var(--d24-shadow)!important;overflow:hidden!important;max-width:100%!important}
.d24-boost-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important}.d24-boost-head>div{display:flex!important;flex-direction:column!important}.d24-boost-head span{font-size:18px!important}.d24-boost-head strong{font-size:20px!important;line-height:1.15!important;color:var(--d24-dark)!important;letter-spacing:-.03em}.d24-boost-head small{font-size:13px!important;color:var(--d24-muted)!important;font-weight:700!important}.d24-boost-head a{color:var(--d24-pink)!important;font-weight:950!important;text-decoration:none!important;white-space:nowrap!important}
.d24-boost-scroll,.d24-small-member-scroll{display:flex!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 2px 14px!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important}.d24-boost-scroll::-webkit-scrollbar{height:6px}.d24-boost-scroll::-webkit-scrollbar-thumb{background:#f7bfd4;border-radius:99px}
.d24-boost-card{flex:0 0 132px!important;width:132px!important;max-width:132px!important;background:#fff!important;border:1px solid #eee6f2!important;border-radius:22px!important;padding:10px!important;text-decoration:none!important;color:#17131f!important;box-shadow:0 12px 26px rgba(15,23,42,.075)!important;scroll-snap-align:start!important;display:block!important;overflow:hidden!important}.d24-new-member-card{flex-basis:120px!important;width:120px!important;max-width:120px!important}.d24-boost-photo{position:relative!important;width:100%!important;height:116px!important;border-radius:18px!important;overflow:hidden!important;background:linear-gradient(135deg,#ffeaf3,#e8e6ff)!important;display:flex!important;align-items:center!important;justify-content:center!important}.d24-new-member-card .d24-boost-photo{height:105px!important}.d24-boost-photo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.d24-boost-photo span{font-size:38px!important;color:var(--d24-pink)!important;line-height:1!important}.d24-boost-photo em,.d24-card-badge{position:absolute!important;top:7px!important;left:7px!important;right:auto!important;bottom:auto!important;display:inline-flex!important;width:auto!important;max-width:calc(100% - 14px)!important;min-width:0!important;height:auto!important;min-height:0!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;border-radius:999px!important;padding:4px 8px!important;background:rgba(233,30,99,.94)!important;color:#fff!important;font-size:10px!important;font-style:normal!important;font-weight:950!important;line-height:1.1!important;box-shadow:0 7px 16px rgba(233,30,99,.23)!important;transform:none!important;letter-spacing:0!important}.d24-online-card .d24-boost-photo em{background:rgba(22,163,74,.94)!important}.d24-photo-card .d24-boost-photo em{background:rgba(249,115,22,.94)!important}.d24-boost-card strong{display:block!important;margin-top:8px!important;font-size:15px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#17131f!important}.d24-boost-card small{display:block!important;color:#70717f!important;font-weight:750!important;font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.25!important;margin-top:3px!important}

/* Premium / payment pages: remove ghost/empty boxes and improve mobile readability */
.d24-plan-actions>:empty,.d24-checkout-actions>:empty,.d24-v26-payment-actions>:empty,.d24-plan-actions a:empty,.d24-checkout-actions a:empty,.d24-v26-payment-actions a:empty{display:none!important;border:0!important;padding:0!important;margin:0!important;height:0!important;min-height:0!important;box-shadow:none!important}.d24-premium-plan-card,.d24-v26-plan-card,.d24-checkout-clean,.d24-payment-pending-clean{overflow:visible!important;color:#17131f!important}.d24-premium-plan-card p,.d24-v26-plan-card p,.d24-checkout-clean p,.d24-payment-pending-clean p{color:#545867!important}.d24-feature-list li{color:#17131f!important}.d24-primary-wide,.plan-cta{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;color:#fff!important;background:linear-gradient(135deg,#e91e63,#ef1767)!important;box-shadow:0 16px 32px rgba(233,30,99,.22)!important;border:0!important}.d24-text-link{color:#e91e63!important;font-weight:950!important;text-decoration:none!important}.d24-payment-instructions{color:#1559b2!important;background:#eef6ff!important;border-radius:22px!important;border:0!important;word-break:break-word!important;overflow-wrap:anywhere!important}

/* Conversation page: delete button in right/top position and message box clean */
.d24-conversation-head-v26{position:relative!important;padding:22px 72px 22px 22px!important;overflow:visible!important}.d24-conversation-delete-form{position:absolute!important;top:18px!important;right:18px!important;margin:0!important;z-index:2!important}.d24-delete-conversation-btn{width:46px!important;height:46px!important;min-height:46px!important;border-radius:16px!important;padding:0!important;font-size:0!important;background:#fff!important;color:#e11d48!important;border:1px solid #fecdd3!important;box-shadow:0 10px 22px rgba(225,29,72,.10)!important}.d24-delete-conversation-btn:before{content:'🗑';font-size:20px}.d24-chat-card-v26{padding:18px!important}.d24-chat-form-v26 textarea{border-radius:18px!important}.d24-chat-form-v26 button{min-width:110px!important}

/* FAQ should not look like duplicate raw text; homepage FAQ is hidden */
.home-faq,.homepage-faq,.faq-list.compact{display:none!important}.professional-faq .faq-category{background:#fff;border:1px solid var(--d24-border);border-radius:26px;box-shadow:var(--d24-shadow);padding:18px;margin:16px 0}.professional-faq .faq-item{border:1px solid #eee7f3;border-radius:18px;padding:12px;margin:10px 0;background:#fff}.professional-faq summary{cursor:pointer;font-weight:900;color:#17131f;display:flex;justify-content:space-between;gap:12px;list-style:none}.professional-faq summary::-webkit-details-marker{display:none}.professional-faq .faq-answer{color:#555866;margin-top:12px;line-height:1.55}

/* Admin tables/cards: prevent horizontal broken pages */
.d24-admin-table-scroll{width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:18px!important}.d24-admin-table-scroll table{min-width:780px!important;margin:0!important}.admin-grid.two{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important}.panel{max-width:100%!important;overflow:hidden!important}.admin-virtual-card{display:flex;gap:12px;align-items:center}.admin-virtual-avatar{width:48px;height:48px;border-radius:14px;overflow:hidden;background:#fff1f7;display:flex;align-items:center;justify-content:center;color:var(--d24-pink);font-weight:950}.admin-virtual-avatar img{width:100%;height:100%;object-fit:cover}.admin-inline-actions{display:flex;gap:8px;flex-wrap:wrap}.d24-disclosure-muted{max-width:220px;color:#6b7280;font-size:12px;line-height:1.35}

/* Live room moderation should match frontend button/card style */
.d24-watch-panel,.d24-host-tools details{border-radius:26px!important;border:1px solid var(--d24-border)!important;box-shadow:var(--d24-shadow)!important}.d24-viewer-row{background:#fff!important;border:1px solid #f0ecf5!important;border-radius:18px!important;padding:12px!important;margin:10px 0!important}.d24-viewer-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.d24-viewer-actions form{margin:0!important}.d24-viewer-actions .btn{width:100%!important;border-radius:14px!important;white-space:normal!important}.d24-ban-note{border-radius:18px!important;background:#fff7e6!important;border:1px solid #ffe4ad!important;color:#7a4a00!important}

/* Footer */
.d24-footer-v26{border-top:1px solid #eee8f2!important;margin-top:34px!important;padding:24px 24px 118px!important;background:#fff!important;border-radius:28px 28px 0 0!important;box-shadow:0 -10px 30px rgba(15,23,42,.05)!important}.d24-footer-links a{color:#e91e63!important;text-decoration:none!important;font-weight:900!important}

@media(max-width:650px){.d24-boost-strip,.d24-member-strip,.d24-new-members-strip{padding:13px!important;border-radius:24px!important;margin-left:-2px!important;margin-right:-2px!important}.d24-boost-head{align-items:flex-start!important}.d24-boost-head strong{font-size:18px!important}.d24-boost-card{flex-basis:112px!important;width:112px!important;max-width:112px!important;padding:8px!important;border-radius:20px!important}.d24-new-member-card{flex-basis:108px!important;width:108px!important;max-width:108px!important}.d24-boost-photo{height:98px!important;border-radius:17px!important}.d24-new-member-card .d24-boost-photo{height:92px!important}.d24-boost-photo em,.d24-card-badge{font-size:9px!important;padding:4px 7px!important}.d24-boost-card strong{font-size:14px!important}.d24-conversation-head-v26{padding:18px 66px 18px 18px!important}.d24-conversation-user{align-items:center!important}.d24-conversation-avatar{width:58px!important;height:58px!important;border-radius:18px!important}.d24-conversation-user h1{font-size:25px!important;line-height:1.15!important}.d24-chat-form-v26{grid-template-columns:1fr!important}.d24-chat-form-v26 button{width:100%!important}.d24-viewer-actions{grid-template-columns:1fr!important}.d24-footer-v26{text-align:center!important}.d24-footer-links{justify-content:center!important}.d24-admin-table-scroll table{min-width:720px!important}}
