/* Gharounda optional dark interface. Activated only when html[data-theme="dark"] is set. */
html[data-theme="dark"]{color-scheme:dark;--ink:#f4edf2;--muted:#b8aeb9;--cream:#17131b;--line:#3a303d;--plum:#35283b;--shadow:0 20px 60px rgba(0,0,0,.32)}
html[data-theme="dark"] body{background:#17131b!important;color:#f4edf2!important}
html[data-theme="dark"] .topbar{background:rgba(29,23,32,.94)!important;border-color:#3b303d!important;color:#f5edf3!important}
html[data-theme="dark"] .nav-links{color:#d0c4d0!important}
html[data-theme="dark"] .nav-links a,html[data-theme="dark"] .footer a{color:inherit}
html[data-theme="dark"] .main,html[data-theme="dark"] .footer{background:#17131b!important;color:#d9ced9!important}
html[data-theme="dark"] .footer{border-color:#3a303d!important}
html[data-theme="dark"] .panel,html[data-theme="dark"] .auth-card,html[data-theme="dark"] .profile-preview,html[data-theme="dark"] .form-panel,html[data-theme="dark"] .admin-panel,html[data-theme="dark"] .person-card,html[data-theme="dark"] .match-item,html[data-theme="dark"] .chat-shell,html[data-theme="dark"] .chat-header,html[data-theme="dark"] .chat-compose,html[data-theme="dark"] .value-strip,html[data-theme="dark"] .floating-note,html[data-theme="dark"] .gh-notify-menu,html[data-theme="dark"] .photo-review-card,html[data-theme="dark"] .profile-strength-card,html[data-theme="dark"] .profile-completion-card,html[data-theme="dark"] .membership-card,html[data-theme="dark"] .settings-card{background:#241d29!important;color:#f1eaf1!important;border-color:#403544!important;box-shadow:0 14px 38px rgba(0,0,0,.22)!important}
html[data-theme="dark"] .person-content,html[data-theme="dark"] .chat-body,html[data-theme="dark"] .chat-messages{background:#1e1823!important;color:#eee5ee!important}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#19151e!important;color:#f4edf2!important;border-color:#4a3d4d!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#9e91a2!important}
html[data-theme="dark"] label,html[data-theme="dark"] .form-heading h2,html[data-theme="dark"] .form-panel h2,html[data-theme="dark"] .admin-panel h2,html[data-theme="dark"] .page-head h1,html[data-theme="dark"] .empty-state h2,html[data-theme="dark"] .match-copy strong,html[data-theme="dark"] .gh-notify-title{color:#f4edf2!important}
html[data-theme="dark"] p,html[data-theme="dark"] small,html[data-theme="dark"] .page-head p,html[data-theme="dark"] .form-heading p,html[data-theme="dark"] .match-copy small,html[data-theme="dark"] .person-content>p,html[data-theme="dark"] .auth-aside p,html[data-theme="dark"] .legal-page,html[data-theme="dark"] .empty-state p{color:#b9aebb!important}
html[data-theme="dark"] .gh-notify-item{color:#eee5ee!important;border-color:#3b303d!important}
html[data-theme="dark"] .gh-notify-item:hover{background:#302536!important}
html[data-theme="dark"] .gh-notify-title{border-color:#403544!important}
html[data-theme="dark"] .membership-chip,html[data-theme="dark"] .soft-pill{background:#422b3a!important;color:#ff9eae!important}
html[data-theme="dark"] .btn-small{background:#422b3a!important;color:#ff9eae!important}
html[data-theme="dark"] .round-action{background:#302536!important;border-color:#4a3b4c!important}
html[data-theme="dark"] .mobile-app-nav,html[data-theme="dark"] .ga-mobile-nav{background:rgba(29,23,32,.97)!important;border-color:#403544!important}
html[data-theme="dark"] .mobile-app-nav a,html[data-theme="dark"] .ga-mobile-nav__item{color:#c9bdca!important}
html[data-theme="dark"] .mobile-app-nav a.active,html[data-theme="dark"] .ga-mobile-nav__item.is-active{color:#ff9eae!important}
html[data-theme="dark"] .mobile-menu{color:#f4edf2!important}
html[data-theme="dark"] .alert.success{background:#20392d!important;color:#a9e5bd!important}
html[data-theme="dark"] .alert.error{background:#43262d!important;color:#ffb4bc!important}
html[data-theme="dark"] .value-strip>div{border-color:#403544!important}
html[data-theme="dark"] .orbit{border-color:#513b4d!important}
html[data-theme="dark"] .mobile-app-nav{box-shadow:0 -8px 25px rgba(0,0,0,.24)!important}
.gh-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 13px;border:1px solid #eadde2;border-radius:999px;background:#fff;color:#514451;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}
.gh-theme-toggle:hover{border-color:#ed9aa5;transform:translateY(-1px)}
.gh-theme-toggle__icon{font-size:17px;line-height:1}
html[data-theme="dark"] .gh-theme-toggle{background:#352a3a;color:#ffe1e8;border-color:#59465d}
@media(max-width:680px){.gh-theme-toggle{min-height:38px;padding:0 10px;margin-left:8px;font-size:11px}.gh-theme-toggle__label{display:none}.gh-theme-toggle__icon{font-size:19px}}
@media(prefers-reduced-motion:reduce){.gh-theme-toggle{transition:none}}

/* Homepage and page-specific surfaces */
html[data-theme="dark"] .gh-home{background:#17131b!important;color:#f4edf2!important}
html[data-theme="dark"] .gh-home section,html[data-theme="dark"] .gh-home .gh-section,html[data-theme="dark"] .legal-page{background-color:transparent!important;color:#eee5ee!important}
html[data-theme="dark"] .gh-home .gh-feature-card,html[data-theme="dark"] .gh-home .gh-testimonial,html[data-theme="dark"] .gh-home .gh-cta,html[data-theme="dark"] .gh-home .gh-faq-item{background:#241d29!important;border-color:#403544!important;color:#f1eaf1!important}
html[data-theme="dark"] .profile-system-wrap,html[data-theme="dark"] .public-profile-wrap,html[data-theme="dark"] .match-page,html[data-theme="dark"] .admin-wrap{color:#f1eaf1!important}
html[data-theme="dark"] .profile-system-wrap .profile-section,html[data-theme="dark"] .public-profile-wrap .profile-detail-card,html[data-theme="dark"] .smart-filter,html[data-theme="dark"] .daily-discover,html[data-theme="dark"] .swipe-section{background:#241d29!important;border-color:#403544!important;color:#f1eaf1!important}
html[data-theme="dark"] .mobile-app-nav a,html[data-theme="dark"] .mobile-app-nav small{color:#c9bdca!important}


/* Navigation correction: keep the original fixed bottom navigation.
   Hide only the duplicate navigation generated by older app.js versions. */
.ga-mobile-nav,
nav.ga-mobile-nav,
body > .ga-mobile-nav {
  display: none !important;
}
@media (max-width: 680px) {
  .mobile-app-nav {
    display: grid !important;
  }
}
