/* Profile-specific finish: compact header, one-level security cards, touch-sized phone inputs. */
html body.matchapp-profile.page-shell header.app-header.mh-topbox{
 position:relative!important;inset:auto!important;
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;justify-items:stretch!important;
 max-width:980px!important;min-height:0!important;height:auto!important;
 padding:12px 18px!important;margin:12px auto 16px!important;
 gap:10px 18px!important;border-radius:24px!important;
 border:1px solid rgba(232,187,110,.55)!important;
 background:radial-gradient(circle at 5% 0%,#60327d66,transparent 52%),linear-gradient(125deg,#321e48,#201331 83%)!important;
 box-shadow:0 14px 38px #0b051b77,inset 0 1px #ffffff24!important;
}
html body.matchapp-profile.page-shell header.mh-topbox>.mh-head{min-width:0!important;width:auto!important;max-width:100%!important;padding:0!important;margin:0!important;}
html body.matchapp-profile.page-shell header.mh-topbox .ma-brand-orb-stage{width:58px!important;height:58px!important;flex:0 0 58px!important;}
html body.matchapp-profile.page-shell header.mh-topbox .ma-brand-home-link{gap:10px!important;justify-content:flex-start!important;}
html body.matchapp-profile.page-shell header.mh-topbox .ma-brand-title-line{white-space:nowrap!important;font-size:clamp(22px,3.1vw,31px)!important;}
html body.matchapp-profile.page-shell header.mh-topbox :is(.ma-wordmark,.ma-word-ai){font-size:inherit!important;line-height:1!important;letter-spacing:-.05em!important;}
html body.matchapp-profile.page-shell header.mh-topbox .mh-tagline{display:none!important;}
html body.matchapp-profile.page-shell header.mh-topbox>nav.mh-deck{
 display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:flex-end!important;
 width:auto!important;min-width:0!important;max-width:100%!important;
 padding:0!important;margin:0!important;gap:8px!important;grid-template-columns:none!important;
}
html body.matchapp-profile.page-shell header.mh-topbox>nav.mh-deck>*{
 flex:0 0 auto!important;min-width:0!important;max-width:100%!important;
 margin:0!important;
}
html body.matchapp-profile.page-shell header.mh-topbox>nav.mh-deck :is(button,a){
 width:auto!important;min-width:44px!important;min-height:44px!important;
 padding:8px 12px!important;border-radius:15px!important;
 font-size:12px!important;line-height:1.1!important;
 background:rgba(35,21,55,.75)!important;color:#f5e9ff!important;
 border:1px solid #ddc59f55!important;box-shadow:0 4px 12px #0003!important;
}
html body.matchapp-profile.page-shell header.mh-topbox>nav.mh-deck :is(.install-btn,.app-install-state){
 background:rgba(43,34,67,.75)!important;color:#ead39a!important;
}
html body.matchapp-profile .main-layout{max-width:980px!important;padding-top:6px!important;}
html body.matchapp-profile .profile-security-card{
 padding:22px clamp(16px,3.5vw,28px)!important;
 border-radius:22px!important;
 background:linear-gradient(150deg,rgba(47,29,70,.96),rgba(25,15,42,.97))!important;
 border:1px solid rgba(231,192,115,.33)!important;
 box-shadow:0 11px 28px #0a051a50!important;
 margin:16px 0!important;
}
html body.matchapp-profile .profile-security-card :is(.passkey-box,.profile-phone-box){
 margin:0!important;padding:0!important;border:0!important;background:none!important;
 box-shadow:none!important;text-align:left!important;
}
html body.matchapp-profile .profile-security-card h3{font-size:clamp(17px,2vw,21px)!important;margin:0 0 8px!important;text-align:left!important;color:#fff3da!important;}
html body.matchapp-profile .profile-security-card :is(p,.passkey-help,.passkey-status){text-align:left!important;font-size:13px!important;line-height:1.55!important;margin:8px 0 14px!important;color:#d9cbe5!important;}
html body.matchapp-profile .profile-security-card .passkey-button{
 min-height:46px!important;width:auto!important;max-width:100%!important;
 background:linear-gradient(110deg,#5a346b,#3c234f)!important;
 border:1px solid rgba(238,198,120,.66)!important;
 border-radius:13px!important;padding:10px 18px!important;
 box-shadow:0 4px 11px #10081d99!important;color:#ffedbc!important;
 cursor:pointer;font:700 13px/1.4 inherit!important;
}
html body.matchapp-profile .profile-security-card .passkey-button:disabled{opacity:.5;cursor:default;}
html body.matchapp-profile .profile-security-card .passkey-sign-in{min-height:36px!important;color:#d9edfd!important;}
html body.matchapp-profile .profile-security-card .passkey-identity{color:#9de5ca!important;font-weight:700;}
html body.matchapp-profile .profile-security-card [hidden]{display:none!important;}
html body.matchapp-profile #pf-phone-entry{margin-top:14px;}
html body.matchapp-profile .pf-phone-grid{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr);gap:12px;margin-bottom:14px;}
html body.matchapp-profile .pf-phone-grid label{display:grid;gap:7px;font-size:12px;color:#ecd4b1;font-weight:700;min-width:0;}
html body.matchapp-profile .profile-phone-box :is(input:not([type=checkbox]),select){
 width:100%;max-width:100%;box-sizing:border-box;min-height:46px;
 border-radius:12px;background:#160f27;color:#fff;border:1px solid #b9a2cc88;
 padding:10px 12px;font-size:16px!important;
}
html body.matchapp-profile #pf-phone-code-row{margin:12px 0;padding:12px;border-radius:14px;border:1px solid #a388c24f;background:#1f1537;}
html body.matchapp-profile #pf-phone-code-row label{font-size:13px;color:#ecd4b1;display:block;margin-bottom:8px;}
html body.matchapp-profile #pf-phone-code{max-width:190px!important;}
html body.matchapp-profile .pf-phone-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
html body.matchapp-profile .pf-phone-buttons button{min-height:44px;border-radius:11px;border:1px solid #e5c15866;padding:8px 14px;background:#3b2558;color:#f9e3af;font-weight:700;cursor:pointer;}
html body.matchapp-profile .pf-phone-buttons button:disabled{opacity:.5;}
html body.matchapp-profile .pf-phone-consent{display:flex;gap:10px;align-items:flex-start;margin:16px 0 4px;font-size:13px;line-height:1.4;color:#f4e6fe;}
html body.matchapp-profile .pf-phone-consent input{width:20px;height:20px;flex:none;accent-color:#dfbd73;}
html body.matchapp-profile #pf-phone-current{color:#a5e9c9!important;font-weight:700;}
html body.matchapp-profile #pf-phone-status[data-state=error]{color:#ffb9b9!important;}
html body.matchapp-profile .profile-security-card :is(input,select,button):focus-visible{outline:2px solid #f8d789!important;outline-offset:3px;}
@media(max-width:800px){
 html body.matchapp-profile.page-shell header.app-header.mh-topbox{grid-template-columns:1fr!important;margin:8px auto 12px!important;width:calc(100% - 20px)!important;box-sizing:border-box;padding:12px 14px!important;gap:7px!important;}
 html body.matchapp-profile.page-shell header.mh-topbox .ma-brand-orb-stage{width:51px!important;height:51px!important;flex-basis:51px!important;}
 html body.matchapp-profile.page-shell header.mh-topbox>nav.mh-deck{justify-content:flex-start!important;gap:7px!important;}
 html body.matchapp-profile.page-shell header.mh-topbox>nav.mh-deck :is(button,a){min-height:42px!important;padding:7px 11px!important;}
}
@media(max-width:480px){html body.matchapp-profile .pf-phone-grid{grid-template-columns:1fr;}html body.matchapp-profile .profile-security-card{padding:16px!important;}}
@media(prefers-reduced-motion:reduce){html body.matchapp-profile .profile-security-card *{animation:none!important;transition:none!important;}}
