#profile .profile-form{width:100%;max-width:100%;overflow-x:hidden;overflow-y:auto;min-height:0;padding-bottom:calc(110px + env(safe-area-inset-bottom));touch-action:pan-y}
#profile .profile-form>*,#profile .profile-form label,#profile .profile-fieldset{min-width:0;max-width:100%}
#profile .profile-fieldset{width:100%;margin:0;padding:0;border:0}
#profile .profile-fieldset>.label{display:block}
#profile .profile-conditional[hidden]{display:none}
#profile .field{min-width:0;max-width:100%}
#profile .profile-help{display:block;margin:7px 2px 0;color:var(--sub);font-size:11px;line-height:1.45}
#profile .profile-phone-row{display:grid;grid-template-columns:minmax(132px,.9fr) minmax(0,1.1fr);gap:8px}
#profile .profile-phone-row>*{min-width:0}
#profile .profile-phone-notice{margin:7px 2px 0;color:#9a5b00;font-size:11px;line-height:1.45}
#profile .profile-verify-send{width:100%;height:44px;margin-top:10px;border:1.5px solid #cdd5ff;border-radius:13px;color:var(--blue);background:#fff;font-size:12px;font-weight:900;overflow-anchor:none}
#profile .profile-verify-send:disabled{opacity:.48;cursor:not-allowed}
#profile .profile-verify-fields{display:grid;grid-template-columns:minmax(0,1fr) 58px 46px;gap:7px;align-items:center;margin-top:9px;overflow-anchor:none}
#profile .profile-verify-fields[hidden]{display:none}
#profile .profile-verify-fields .field{height:45px}
#profile .profile-verify-fields button{height:45px;border:0;border-radius:12px;color:#fff;background:var(--blue);font-size:12px;font-weight:900}
#profile .profile-verify-fields span{color:var(--blue);font-size:11px;font-weight:800;text-align:right}
#profile .profile-verify-status{min-height:17px;margin:7px 2px 0;color:#13875e;font-size:11px;font-weight:800}
#profile .profile-conditional{display:grid;gap:12px;margin-top:10px;padding:13px;border:1px solid #dce1ff;border-radius:15px;background:#f8f9ff}
#profile .profile-interest-heading{display:flex;align-items:center;justify-content:space-between;min-width:0}
#profile .profile-interest-heading>*{min-width:0}
#profile .profile-interest-heading .label{margin:0}
#profile .profile-interest-count{padding:4px 8px;border-radius:99px;color:var(--blue);background:var(--pale);font-size:11px;font-weight:900}
#profile .profile-interest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
#profile .profile-interest-grid button{min-height:43px;padding:8px;border:1.5px solid var(--line);border-radius:13px;color:#555d76;background:#fff;font-size:12px;font-weight:800}
#profile .profile-interest-grid button.on{border-color:var(--blue);color:var(--blue);background:var(--pale)}
#profile .profile-interest-grid button.on:before{content:'✓';margin-right:5px}
#profile .profile-interest-message{min-height:17px;margin:7px 2px 0;color:#d63b51;font-size:11px}
#profile .bottom-action{position:absolute;left:0;right:0;bottom:0;padding:12px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #eef0f7;background:#fffffff2;backdrop-filter:blur(12px)}
#profile .bottom-action .primary{width:100%}
.profile-country-picker{position:fixed;inset:0;z-index:120;display:grid;align-items:end;background:#11162f73}
.profile-country-picker[hidden]{display:none}
.profile-country-sheet{width:min(100%,430px);max-width:100%;max-height:min(72dvh,620px);margin:0 auto;padding:18px;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -18px 50px #17204b28}
.profile-country-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.profile-country-sheet h2{margin:0;font-size:18px}
.profile-country-sheet header button{border:0;background:transparent;font-size:27px;color:var(--sub)}
.profile-country-results{display:grid;gap:6px;max-height:48dvh;margin-top:10px;overflow:auto}
.profile-country-result{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-width:0;padding:10px;border:0;border-radius:12px;background:#f7f8fc;text-align:left}
.profile-country-result b,.profile-country-result small{display:block}.profile-country-result small{color:var(--sub);font-size:10px}.profile-country-result em{color:var(--blue);font-size:11px;font-style:normal;font-weight:800}
.profile-country-result:disabled{opacity:.48}
@media (min-width:540px){.profile-country-picker{align-items:center}.profile-country-sheet{border-radius:24px}}
